English
Language : 

CC78K4 Datasheet, PDF (72/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 5 OPERATORS AND EXPRESSIONS
Table 5-1 shows the evaluation priority of operators used in C.
Table 5-1. Evaluation Precedence of Operators
Type of Expression
Postfix
Unary
Cast
Multiplicative
Additive
Bitwise shift
Relational
Equality
Bitwise AND
Bitwise XOR
Bitwise OR
Logical AND
Logical OR
Conditional
Assignment
Comma
Operator
[ ] ( ) . – > ++ – –
++ – – & * + – ~ ! sizeof
(type)
*/%
+–
<< >>
< > <= >=
== !=
&
^
|
&&
||
?:
= *= /= %= += –=
<<= >>= &= ^= | =
,
Linkage Priority
→
Highest
←
←
→
→
→
→
→
→
→
→
→
→
←
←
→
Lowest
The arrow (→ or ←) in the “Linkage” column denotes that when an expression
contains two or more operators of the same priority, the operations are carried out in
the direction of the arrow “→” (from left to right) or “←” (from right to left).
72
User’s Manual U15556EJ1V0UM