Originally posted by feng lee:
I don't think so the i will be 2.beacause variable only pass its copy,so the original i is still 0.so i think the output should be:
Originally posted by Salim Mohamed:
I calculated the same way as Peter Wu has done to arrive at the answer , But your way is more accurate.
Originally posted by Kathy Sierra:
And as always, I'm compelled to point out to anyone who might be freaking out at that question, that you will not see any questions like this on the exam! The only questions that expect you to understand precedence are with respect to casting, String concatenation, and just knowing how pre/post operators work in general."