vedadribabu
Newbie level 5
- Joined
- Jan 13, 2011
- Messages
- 8
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,322
Please clarify my doubt??
what is the difference?
1 .int a=1;
int a=2;
2.volatile int a=1;
volatile int a=2;
since volatile means variable can be changed at any time if we don't declare volatile also a is becoming 2 then what is reason if we decalre volatile?
what is the difference?
1 .int a=1;
int a=2;
2.volatile int a=1;
volatile int a=2;
since volatile means variable can be changed at any time if we don't declare volatile also a is becoming 2 then what is reason if we decalre volatile?