C Tutorial/Operator/Relational Operators
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