x = 100;
x = x-- - --x;
x is 2 when printed.
I'm confused. I thought it will be evaluated like this.
x = 100 - 99;
Isn't it supposed to be 1?
x = 100;
x = x-- - --x;
x is 2 when printed.
I'm confused. I thought it will be evaluated like this.
x = 100 - 99;
Isn't it supposed to be 1?