That is a reason to group ambiguous-looking operations with parentheses. And for not using a variable twice in the same expression when using postincrement. But not one for not using preincrement, as it isn't even used here.Nick said:And here's another minor reason:
I hope you don't write code like this but guess what's the value of j?Code:int i = 0; int j = i+++i;