Intel Corporation interview question

Volatile keyword

Interview Answer

Anonymous

14 Apr 2011

prevents a variable from being optimized away, if its contents change outside of normal program execution (because of HW, threads, etc)

1