C storage class
Storage Class in C Programming :
- Every Variable in a program has memory associated with it
- Memory Requirement of Variables is different for different types of variables
- In C , Memory is allocated & released at different places
Storage Class : Summary
Term | Definition |
Scope | Region or Part of Program in which Variable is accessible |
Extent | Period of time during which memory is associated with variable |
Storage Class | Manner in which memory is allocated by the Compiler for Variable Different Storage Classes |
Different Storage Classes :
- Auto Storage Class
- Static Storage Class
- Extern Storage Class
- Register Storage Class