C Tutorial/Operator/Relational Operators — различия между версиями
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
|
(нет различий)
|
Версия 14:21, 25 мая 2010
Relational operators
- Relational operators are used in Boolean conditions or expressions.
- Boolean conditions or expressions return either true or false.
- The relational operator returns zero values or nonzero values.
- The zero value is taken as false while the nonzero value is taken as true.
- The relational operators are as follows: <, <=, >, >=, ==, !=.
- The priority of the first four operators is higher than that of the later two operators.
5.4.Relational Operators 5.4.1. Relational operators