a++ It is a post increment operator. It returns the value of the variable first, and then increases the value by 1. ++a It is the operator that increases the value first by 1, and then returns the increased value.
int a = five ;
int b = a ++ ; //B=5, a=6 (return the value of a and then add a to 1)
int c = five ;
int d = ++ c ; //D=6, c=6 (first add 1 to c, then return the value of c)