Dear all, as we all are much of a familiar with the expressions involving those shortcuts >> ++Var<< which means "variable=variable+variable" or >> --Var which does the opposite by subtracting --var="variable-variable".

```
if(brightness==0)
{
direction=1;
}
if(brightness==255)
{
direction==-1;
}
brightness+=direction; << this equation
```

if the "direction =-1", then the above mentioned statement will be "brightness=brightness+(-1)" so considering math. and if we solve this having in mind tthe math. then we need to subtract from brightness "-1" so it we be "brightness= brigthness-1". Is this correct thinking of C language and the way it interprets this kind of math.? and in which way the GNU-GCC compiler is taking care of this stuff? (^:^)