Vidyalelo
C++ Programming · Q25

Variables and Data Types in C++

Programming · C++ Programming · question 25

Q25

What does the 'volatile' keyword do in C++?

A.
Indicates that a variable may be changed unexpectedly
Answer
B.
Indicates that a variable cannot be changed
C.
Declares a constant variable
D.
Declares a global variable

Answer: Option A

Solution

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