Question d’entretien chez Uber

What does the volatile keyword do?

Réponse à la question d'entretien

Utilisateur anonyme

27 sept. 2018

It forces the compiler to not optimize a variable and to always read it from memory.