What is a volatile variable?

What is a volatile variable?

nhKrxb jllaldfkorfu, oqinluvqorls, [link=]wsfjaggdvpcj[/link],

Volatile varibles:

These are those variables that can be changed at any time by other external program or the same program.

Syntax :- volatile int a;


void main()


volatile number =88;

number= number-1;




Output: 87

Imp Point: If you want to make the volatile variable constant for the current program and desired to change by other extranl operation then the declartion of variable must like that:
volatile const h = 40;