|
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
|
▷ |