Frage im Vorstellungsgespräch bei Qualcomm

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

Antwort im Vorstellungsgespräch

Anonym

3. Feb. 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