This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

generla C

Hi,

Please can any one tell what is the differnce between "volatile const" and "const"

for ex:

const int x;

volatile const int x;

what does differnce makes?

Parents
  • They are both standard 'C' keywords - so definitions should be found in any decent 'C' textbook.

    Once you know what each one means individually, just think about what the combination would mean...

Reply
  • They are both standard 'C' keywords - so definitions should be found in any decent 'C' textbook.

    Once you know what each one means individually, just think about what the combination would mean...

Children
No data