Vidyalelo
C Programming · Q30

Storage Class

Programming · C Programming · question 30

Q30

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
Answer
D.
Increases variable scope

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board