Lecture Twenty

8 Oct 98


Click here to start


Table of Contents

Unions

Union Example

Bit Fields

Enumerated Types

Enumerated Type, Example

Compile-Time and Run-Time Storage Allocation

Dynamic Memory Allocation

malloc() function

calloc() function

Accessing Run-Time Storage

Release Run-Time Storage

''Garbage'' Example

Dynamical Memory Allocations of Arrays

Two-dimensional array with calloc

Pointer to Pointer to Double

Reading/Home Working

Author: NUS

Email: cscwjs@nus.edu.sg

Home Page: http://www.cz3.nus.edu.sg/~wangjs/CZ1102/cz1102.html

Download presentation source