Order of Operations
- () [] --> . :: grouping, scope, array, member access
- ! ~ - + * & sizeof type cast ++x --x (most) unary operations, sizeof and type casts
- * / % multiplication division modulo
- + - addition subtraction
- << >> bitwise shift left and right
- < <= > >= comparisons: less than, ....
- == != equal, not equal
- & bitwise AND
- ^ bitwise exclusive OR
- | bitwise inclusive (normal) OR
- && Logical AND
- || Logical OR
- ?: condition expression (ternary operator)
- = += -= *= /= %= &= |= ^= <<= >>= assignment operators
- . common operator
No comments:
Post a Comment