In chapter 2 we have the following example:
Code:
myNumber = 1;
myVar = (myNumber ++ * 10 + 1);
In the book we are told the result for myVar should be 12, but after testing it a few times I got 11 each and every time.
How is this possible? Clearly, incrementing is not working as expected.