// The difference is here: int a = 0; int b = a++; // b = 0, a = 1 // Where int a = 0; int b = ++a; // b = 1, a = 1