c Example Program of  Relational operator


A relational operator  to compare between two operands value and always return logical value  either 1 for true or 0 for false.

There are some relational operators

operatormeaning
>greaterthan
>=greater or equal
<lessthen
<=lessthen or equal
==double equal
!=not equal

output of relational operator

a > b       true

a < b        false

c>= b      true

c<= a       true

(a+b) == c  true

(a+b) != c   false


true   1                  false  0

(Visited 53 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *


CAPTCHA Image
Reload Image