|
CC78K0S Datasheet, PDF (77/520 Pages) NEC – C Compiler Ver.1.30 or Later Language | |||
|
◁ |
CHAPTER 5 OPERATORS AND EXPRESSIONS
Table 5-1 shows the evaluation precedence 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
Operations in the same line contain the same priority.
The arrow (â or â) in the Linkage column denotes that when an expression contains two or more operators of the
same precedence, the operations are carried out in the direction of the arrow âââ (from left to right) or âââ (from right
to left).
Userâs Manual U14872EJ1V0UM
77
|
▷ |