🎴 Flashcard Mode

C++ concepts

Card1 / 5
Mastered0
Review0
QuestionClick to flip

Types of Storage Class Variables

AnswerClick to flip back
A
Automatic
B
Static
C
External
💡 Explanation:

The four storage classes in C are auto (automatic), register, static, and extern (external). Automatic variables have local scope and lifetime. Static variables retain their value between function calls. External variables are visible across multiple files. Global is not a storage class - it describes scope, not storage duration.

Change Mode