Previous: 14 Storage Class and Scope
Up: 14 Storage Class and Scope
Next: 14.2 Dynamic Memory Allocation
Previous Page: 14 Storage Class and Scope
Next Page: 14.1.1 Automatic Variables

14.1 Storage Classes

Every C variable has a storage class and a scope. The storage class determines the part of memory where storage is allocated for an object and how long the storage allocation continues to exist. It also determines the scope which specifies the part of the program over which a variable name is visible, i.e. the variable is accessible by name. The are four storage classes in C are automatic, register, external, and static.
Sat Sep 3 07:21:51 HST 1994