C++ Programmer Question:

Do you know the purpose of the keyword volatile?

Tweet Share WhatsApp

Answer:

Declaring a variable volatile directs the compiler that the variable can be changed externally. Hence avoiding compiler optimization on the variable reference.

Read All 59 C++ Programmer Questions
Previous QuestionNext Question
Tell me what is this pointer?Tell me what is an abstract class in C++?