difference between a and a c 2b 2b

Solutions on MaxInterview for difference between a and a c 2b 2b by the best coders in the world

showing results for - "difference between a and a c 2b 2b"
Carla
15 Aug 2020
1// The difference is here:
2
3int a = 0;
4int b = a++; // b = 0, a = 1 
5
6// Where
7
8int a = 0;
9int b = ++a; // b = 1, a = 1 
10