Qualcomm interview question

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

Interview Answer

Anonymous

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