What is the main purpose of the 'volatile' storage class in C?
A. Prevents memory allocation
B. Forces a variable to be stored in registers
C. Indicates that a variable may change unexpectedly
D. Increases variable scope
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