Question d’entretien chez DornerWorks

Define "volatile".

Réponse à la question d'entretien

Utilisateur anonyme

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