Priority |
Category |
Same-level operators |
Operation name |
Operation count |
Combination Method |
High |
Force |
() []-> |
Parentheses (such as functions and brackets ), Subscript, field, and member |
Binocular (but with single brackets) |
Left join |
|
Single Camera |
! ~ ++ -- + -*& (Type) sizeof |
Non, (by) Non, incremental, Reduce, take positive number, take negative number, Get content, get address, convert Type, measured bytes |
Single Camera |
Right combination. However, if ++ and -- After the variable is applied, it is left-bound. |
Arithmetic |
*/% |
Multiplication, division, Remainder (only valid for integer type) |
Binocular |
Left join |
|
+- |
Add, subtract |
Binocular |
Left join |
Shift |
<> |
Left shift, right shift (both for none Valid integer) |
Binocular |
Left join |
Link |
<<=>=> |
Less than, less than or equal, Greater than or equal |
Binocular |
Left join |
=! = |
Equal to, not equal |
Binocular |
Left join |
Bit logic (non-bit) |
& |
Bitwise AND |
Binocular |
Left join |
^ |
Bitwise OR |
Binocular |
Left join |
| |
By bit or |
Binocular |
Left join |
Logic (non-bit) |
&& |
And |
Binocular |
Left join |
| |
Or |
Binocular |
Left join |
Select Value |
Condition? True: false |
Conditional Value |
Tri-category |
Right combination |
Assignment |
= + =-= * =/= & ^ = | = <=> = |
Simple assignment, accumulate, Subtraction, multiplication, division, Bitwise AND, bitwise OR, bitwise OR, Left shift, right shift |
Binocular |
Right combination |
Low |
Sequence |
, |
Comma (sequential operation) |
Binocular |
Left join |