|
|
The volatile modifier tells the compiler that a variable may have its contents altered in ways not explicitly defined by the program. For example, variables that are changed by hardware such as real-time clocks, interrupts, or other inputs should be declared as volatile.
|
|