previous | start | next

Post Increment operators

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

Post increment operators increment the variable after computing its current value.

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


previous | start | next