A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

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?

Thanks,

Click Here!