June 1, 2013

use of "const volatile" variable. [ Not using pointers]

Hi all,
can some one explain, the real-life use of "const volatile" for a variable, which is NOT A POINTER.
I mean, I aware about, "const volatile *some_mem_addr".
But, what about, "const volatile int not_a_pointer;".
As a language feautere, we can declare a variable like above. But, in what exact situation, it can be used?


Click Here!