Friday, April 27, 2012

use of volatile keyword and constant


Volatile is the used to tell the compiler to modify at any instance ;
constant is used to tell the compiler the value is not going to be changed
constant volatile both is used in same variable it indicate that the variable
is not modified through the program
' but it modified by external interrupts are inputs other than via program
this confirm that the program not modified using program.

No comments:

Post a Comment