Pergunta de entrevista da empresa Qualcomm

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

Resposta da entrevista

Sigiloso

3 de fev. 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