C++ Programmer Question:
Download Questions PDF

Do you know the purpose of the keyword volatile?

C++ Programmer Interview Question
C++ Programmer Interview Question

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 QuestionNext Question
Tell me what is this pointer?Tell me what is an abstract class in C++?