Operator priority

  1. Operators have different priorities, which are the order of operations in an expression operation. In the following table, the previous line always takes precedence over the next line.
  2. Only the unary operators (such as ++a, which operates on a single number) and assignment operate from right to left.
  3. List, do not recite, use more, familiar with.



4. General classification of priorities: