@^
Why? People should KNOW that!
The ordering of operations in C/C++ is:
selection+preincrement >
negation,not+postincrement >
multiplication+division+modulo >
addition+subtraction >
shifting >
relationals >
bitand > bitxor > bitor >
and > or > ternary >
assignment >
commas.
@packetpirate: IMO, that's just uglier and slightly less readable. When you have a messy expression, though, sometimes it does make sense to add a few unneeded parentheses.