Unary | ! ~ + - ++ -- |
Multiplicative | * / % |
Additive | + - |
Shift | << >> |
Relational | < <= > >= |
Equality | == != |
Bitwise AND | & |
Bitwise XOR | ^ |
Bitwise OR | | |
Logical AND | && |
Logical OR | || |
Conditional | ?: |
Assignment | = *= /= %= += -= &= ^= |= <<= >>= |
Comma | , |
Associativity is left to right for all operators, except for Unary, Conditional and Assignment, which are right to left associative.
The normal operator precedence can be altered by the use of parentheses.
Index | Copyright © 2005 CadSoft Computer GmbH |