C Tutorial/Operator/Relational Operators


Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Материал из C\C++ эксперт
Перейти к: навигация, поиск

Relational operators

  1. Relational operators are used in Boolean conditions or expressions.
  2. Boolean conditions or expressions return either true or false.
  3. The relational operator returns zero values or nonzero values.
  4. The zero value is taken as false while the nonzero value is taken as true.
  1. The relational operators are as follows: <, <=, >, >=, ==, !=.
  2. 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