English
Language : 

CC78K4 Datasheet, PDF (90/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 5 OPERATORS AND EXPRESSIONS
5.7 Relational Operators
There are two types of operators to indicate the relationship between two operands: “relational operator” and
“equality operator”.
The relational operator indicates the value relationship between two operands such as greater than and less than.
The equality operators indicate that two operands are equal or not equal.
The relational operators and equality operators are shown below.
• Relational operator < > <= >=
• Equality operator
== ! =
The value relationship between two pointers compared by relational operators is determined by the relative
location in the address space of the object indicated by the pointer.
In this compiler, relational operators and equality operators generate ‘1’ if the specified relationship is true and ‘0’
if it is false. The results have int type.
The relational operators and equality operators are described below. E1 and E2 used in the explanation of syntax
indicate operands or expressions.
90
User’s Manual U15556EJ1V0UM