DornerWorks interview question

Define "volatile".

Interview Answer

Anonymous

Apr 13, 2015

A volatile variable is one that will be changed outside of the current scope, like a timer variable. The "volatile" declaration prevents the variable from being removed from loops by the optimizer of the compiler.