In which storage class is the variable's storage duration throughout the program's execution?
A. extern
B. static
C. auto
D. register
Answer: Option B
Related Questions on Storage Class
What is the primary purpose of the 'static' storage class?
A. Extend scope
B. Preserve value
C. Allocate memory
D. Register access
Join The Discussion