Which storage class can only be used for local variables?
A. register
B. static
C. extern
D. auto
Answer: Option A
A. register
B. static
C. extern
D. auto
Answer: Option A
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