NVIDIA interview question

What is a volatile variable

Interview Answer

Anonymous

6 Jan 2011

A keyword to let the compiler know that this variable ( or memory location) could be accessed and changed from outside the code and hence not to optimize that region of code

1