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 atm program in c with inbuilt functions for 1782?

Ravi is a newbie to the programming and while learning the programming language he came to know the following rules:

Write a program to define a matrix: 1. Write a function that takes an integer and calculates and returns the factorial of the integer. The Factorial of a number "n" is compute

count the number of string in n-th padovan string

Write a function for finding out highest and lowest marks obtained by a student from an array contained student name and marks. For Example : GetHighestLowestMarks{Student{n}, Ma

I am an online tutor who can teach computer science and programming language. Is there any requirement for this?

A: Something to let your class to grant access to another class or function. Friends may be either classes or functions. Class grants access privileges to its friends. In genera

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

A: Mostly can be overloaded. The only C operators which can't be are. and?: (and sizeof, that is technically an operator). C++ adds a few of its own operators, mostly which can be