Storage Classes: Types of storage classes — Study Resources & PYQs
Storage classes in C and their effect on scope, lifetime and storage of variables.
- Estimated study time: 30 minutes
Study resources
- C Basics section - GeeksforGeeks tutorial (Article) — Use the Basics and Variables sections of this tutorial for character set, identifiers, keywords, data types and constants. Each has its own page with a runnable example.
- Storage Classes in C - GeeksforGeeks (Article) — Explains all four storage classes with scope, lifetime, default value and storage location, plus runnable examples. The static-variable-preserves-its-value example is the one to remember.
Taught in these subjects
- COMPUTER PROGRAMMING — CST3101 · Government College of Engineering and Technology, Jammu