Question d’entretien chez Qualcomm

Can variable be declared with "Const" and "Volatile" quantifier ?

Réponse à la question d'entretien

Utilisateur anonyme

3 févr. 2015

Yes ! However any operation following declaration that tries to modify the const volatile variable, will result into compilation error. So though a variable is declared const + volatile, only const qualifier dominates