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

what is classes?

when a class is defined the compiler will not allocate memory. This is true only for data member not for member function.  As soon as the member function is defined  the require

Write a program that finds the minimum total number of shelv, C/C++ Programming

Project Description: I am seeking a developer who can start an app from scratch and get it delivered to me as soon as possible. It is a little android based app. A background on

Project Description: Online game development Online Live Baccarat Game is needed - client program. - server program(IOCP or ect..). - web program(ASP or PHP or etc..

Program is to store all ASCII char into a file: void main()     {   ofstream  fout("ascii.txt");   int i,n=256;   for(i=1;i     {     fout     }

Program is to take two arguments and returns the string: Program is to take two arguments and returns the string which is larger the larger string has larger ascii value invok

Problem Write a program in C++ to read N numbers in an array, the user should be able to search a particular number in the array using sequential search algorithm. Writing a

Define the Classification of Operators in C Language? Depending on the function performed the operator can be classified as 1. Arithmetic Operator 2. Logical Operator 3. Inc