Next Page:
14 Storage Class and Scope
14 Storage Class and Scope
14.1 Storage Classes
14.1.1 Automatic Variables
14.1.2 Register Variables
14.1.3 External Variables
14.1.4 Variable Definition vs Declaration
14.1.5 An Example: Lexical Scanner
14.1.6 Static Variables
14.1.7 Storage Class for Functions
14.1.8 Stack vs Heap Allocation
14.2 Dynamic Memory Allocation
14.2.1 Library Functions for Dynamic Allocation
14.2.2 Dynamic Arrays
14.3 Pointers to Functions
14.3.1 Function Pointers as Returned Values
14.4 Summary
14.5 Problems