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

Related Posts Plugin for WordPress, Blogger...