Vidyalelo
C++ Programming · Q9

C++ miscellaneous

Programming · C++ Programming · question 9

Q9

What is the purpose of the 'volatile' qualifier in C++?

A.
To indicate that a variable should be optimized by the compiler
B.
To indicate that a variable may be modified by external factors
Answer
C.
To indicate that a variable should not be optimized by the compiler
D.
None of the above

Answer: Option B

Solution

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