Define the relational operator in c language, C/C++ Programming

Define the Relational Operator in c language?

The Relational operators refer to the relationships that values can have with one another and they are used to compare two operands to see whether they are equal to each other unequal or whether one is greater than other. The result of the relational expression is either one or zero and it is one if the specified relation is true zero if the relation is false and the following figure shows these operators along with their meanings.

Operator            Purpose

<                       Less than

>                       Greater than

<=                     Less than equal to

>=                     Greater than equal to

==                     Equal to

!=                      Not Equal to

Relational expression are meant to use in decision statements such as while and if to decide the course of action of a running program.

Posted Date: 6/12/2013 6:10:14 AM | Location : United States







Related Discussions:- Define the relational operator in c language, Assignment Help, Ask Question on Define the relational operator in c language, Get Answer, Expert's Help, Define the relational operator in c language Discussions

Write discussion on Define the relational operator in c language
Your posts are moderated
Related Questions

Write a program in C to implement a FTP client that can interoperate with a default FTP server . The client should implement basic FTP commands GET PUT LIST DELE . GET -> to

Aim: To implement a program for following string operations: Length of String. String Concatenation. Substring (provide start index and length) Find character a

I hv an assignment to do, I almost done. But i cant find whats wrong- my code is to make a simple calculator using function''s all 4 patterns. I did like this- #include int add

(Random Numbers) Write statements that assign random integers to the variable n in the following ranges: a) 1 ≤ n ≤2 b) 1 ≤ n ≤100 c) 0 ≤ n ≤9 d) 1000 ≤ n ≤1112 e)

1.jewels can only be removed for polishing from either end of the necklace. 2.cost of polishing=sitting number*colour value of jewels.

Your task is to create a programming system for a ferry. The ferry transports passengers and vehicles (cars, busses, lorries and bicycles). The ferry has space for 200 passengers a

Ask quIn the Byteland country a string "s" is said to super ascii string if and only if count of each charecter in the string is equal to its ascci value in the byteland country as

WAP TO ACCEPT MARKS OF THREE SUBJECT FOR STUDENT & CALCULATE TOTAL MARKS AND PERCENTAGE #include stdio.h> #include conio.h>   void main() {            int M1,M