previous | start | next

Pre Increment operators

        int x = 5;
        int y = 10;
        double z = 3.4;
     

Pre increment operators increment the variable before computing its value.

Expression Value Changed Variables
++x
++y
++z
6
11
4.4
x is 6
y is 11
z is 4.4


previous | start | next