Frage im Vorstellungsgespräch bei DornerWorks

Define "volatile".

Antwort im Vorstellungsgespräch

Anonym

13. Apr. 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.