why the Increment operator is working weird?
If
int b = 2;
and b = b++ + b++ + b++; //output is 9
Then why b = b++ + b++; //output is 5
and not 6???
why the Increment operator is working weird?
If
int b = 2;
and b = b++ + b++ + b++; //output is 9
Then why b = b++ + b++; //output is 5
and not 6???