Useful reference to C operators
Ever wondered what all the operators that you can use = are. Like ^=. Or what about operator precedence? Does * come before ++? (Answer no, ++ is higher precedence than *).
Do you know how
a & b == 7
is parsed? It’s actually a & (b==7)
This Wikipedia page lists all the operators with precedence order and as it includes C++, it lets you see what you can and can’t do in C and C++. It’s worth bookmarking whenever you need to look these things up.