The general order of precedence from highest to lowest is Scope Resolution (::) Member Access (., .*) Postfix () [] -> ++ -- *Unary + - ! ~ ++ -- (type) * sizeof & ** Multiplicative * / % Additive + -Shift << >> Relational < <= > >= Equality == != Bitwise AND & Bitwise XOR ^ Bitwise OR | Logical AND && Logical OR || Conditional ?: *Assignment = += -= = /= %= &= ^= |= <<= >>= Comma ,.