++ and -- Operators
The statements
x = x +1; and x +=1;
can be written using the ++ operator as
x ++;
The statements
x = x -1; and x -=1;
can be written using the -- operator as
x --;
Previous slide
Next slide
Back to first slide
View graphic version