adspace
Answer Posted / Mahaveer Prasad
The 'volatile' keyword in C++ is used to indicate that a variable may be modified by something outside the control of the program, such as hardware or another thread. This tells the compiler not to optimize reads and writes to volatile variables.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers