Relational Operators in C

C supports following rational operators:


Operator Description
== Check if two operands are equal.
!= Check if two operands are not equal.
> Check if the operand on the left is greater than operand on the right.
< Check operand on the left is smaller than the right operand.
>= check left operand is greater than or equal to the right operand.
<= Check if the operand on left is smaller than or equal to the right operand.
Previous Post Next Post