Code it ALL
Comparison Operators in C - CodeGK

♦ Comparison Operators in C

♣ Example1: Comparison Operators in C

Comparison operator perform comparison between two variable at base level and output a boolean(true/false) value.
Below is the list of comparison operators.
  • Greater Than: a > b
  • Greater Than or Equal to: a >= b
  • Less Than: a < b
  • Less Than or Equal to: a <= b
  • Equal to: a == b
  • Not Equal to: a != b
In this example, Comparison operators are illustrated.