Tuesday

Realational Operator


Realational Operator

When we write program, many time we requirement to comparison of two or more data, in that case we uses relational operators. There are following relational operators as following :

Operators    Name
    >             Greater than
    <              Less than
    =              Equals  to
    >=           Greater than equals to
    <=           Less than equals to
    !=            Not equals to

The syntax of relational expression as :

<data value 1>Relational operator<data value 2>

Example :

10 >= 5
-50 <= 1
0 != 0

Kindly Bookmark this Post using your favorite Bookmarking service:
Technorati Digg This Stumble Stumble Facebook Twitter
YOUR ADSENSE CODE GOES HERE

0 comments:

Post a Comment

Dont Forget for Commets

 

| C programing tutorials © 2009. All Rights Reserved | Template Style by My Blogger Tricks .com | Design by Brian Gardner | Back To Top |