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

Assignment Help:

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.


Related Discussions:- Define the relational operator in c language

Compiler design-limit the methods, Problem : Compiler Design - Limit the me...

Problem : Compiler Design - Limit the methods Rahul is a newbie to the programming and while learning the programming language he came to know the following rules: ·

Variable, what is local and global variable?give me some example to underst...

what is local and global variable?give me some example to understand better

Describe faster ++i or i++, A: The answer to this lies actually, how they u...

A: The answer to this lies actually, how they used. Along ++i(PreIncrement) the variable is incremented and new value is returned. Thus it needs one instruction to increment the va

Computer graphics, .Develop a two dimensional interactive game with the fol...

.Develop a two dimensional interactive game with the following features: 1. Use OpenGL (any version you find convenient) 2. The game can either be two player or one player with the

C++ programming, give a program to accept and print 2_D Array

give a program to accept and print 2_D Array

Pseudo code, determining whether an integer is prime number or not

determining whether an integer is prime number or not

#c++, There is a pebble merchant. He sells the pebbles, that are used for s...

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

Can i overload operator == so it allow me compare two char[], Q: Can I over...

Q: Can I overload operator == so it allow me compare two char[] by a string comparison? A: No: at least one operand of particular overloaded operator should be of some user-defi

C program to display a rectangle, Aim: To implement a program to display a...

Aim: To implement a program to display a rectangle, circle and triangle. Code:                       class shape {             public:                         vir

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd