In which storage class are variables allocated memory in the data segment of the program's memory?
A. auto
B. extern
C. static
D. register
Answer: Option C
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