In which storage class is a variable's memory allocated on the stack?
A. auto
B. extern
C. register
D. static
Answer: Option A
A. auto
B. extern
C. register
D. static
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