romel_emperado
Advanced Member level 2
- Joined
- Jul 23, 2009
- Messages
- 606
- Helped
- 45
- Reputation
- 132
- Reaction score
- 65
- Trophy points
- 1,318
- Location
- philippines
- Activity points
- 6,061
every time variable is accessed? even we do not call this function?if we use volatile modifier, this disables optimisation, forcing the program to fetch a new value from the variable every time variable is accessed.
void update(void)
{
time =time+1;
}