1.

Explain the purpose of the keyword volatile.

Answer»

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



Discussion

No Comment Found