Pregunta de entrevista de Qualcomm

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

Respuesta de la entrevista

Anónimo

3 de feb de 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