C++ Programmer Question: Download Questions PDF
Do you know the purpose of the keyword volatile?
![C++ Programmer Interview Answer C++ Programmer Interview Question](https://globalguideline.com/public/images/interview/28.png)
Answer:
Declaring a variable volatile directs the compiler that the variable can be changed externally. Hence avoiding compiler optimization on the variable reference.
Download C++ Programmer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me what is this pointer? | Tell me what is an abstract class in C++? |