Order of Precedence of Operators
- Last UpdatedJul 18, 2023
- 1 minute read
Operators have a set of rules that govern the order in which operations are performed. These rules are called the order of precedence. The precedence of Cicode operators from highest to lowest is:
|
1. |
() |
|
2. |
NOT |
|
3. |
*, /, MOD |
|
4. |
: |
|
5. |
+, - |
|
6. |
>, <, <=, >= |
|
7. |
=, <> |
|
8. |
AND |
|
9. |
OR |
|
10. |
BITAND, BITOR, BITXOR |