Do you know the purpose of the keyword volatile?

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

Read Online C++ Programmer Job Interview Questions And Answers