Chaitu Tech Bits

Difference between volatile and const?( constant)

Wednesday, December 15, 2010

CONSTANT  is used to declare the constants i.e the value of this data type will not be changed through out the program execution.

VOLATILE, Normal this data type will be used to declare the variable for timer count & interrupt status because the value of this specific types can't be expected any time

suggestions welcome
Share/Bookmark

Comments

Loading... Logging you in...
  • Logged in as
There are no comments posted yet. Be the first one!

Post a new comment

Comments by

Related Posts Plugin for WordPress, Blogger...