Relational Operators

Operators which specify the relation between two variables by comparing them are known as?
Arithmetic operators
Relational Operators
Logical operators
Assignment operators
How many operators are present in C++?
Six
Eight
Seven
Two
What is '==' operator known as?
Equal equal operator
Arithmetic Operator
Equal to operator
None of these
'Not equal to' operator is represented by what in C++?
!=
\=
/=
None of these
'Less than or equal to' is represented by what in C++?
=>
<=
>=
=<
What value is returned if the comparison of two values is true?
2
0
4
1
How do you equate value of variable B to variable A?
A==B
A=B
A==D
None of these
What would be the output of the following code- int a=10,b=20; if(a>b) cout<<"a is greater"; else cout<<"b is greater";
20>10
a is greater
B is greater
None of these
The expression (x >= 0 && x <= 100) evaluates to false if either x < 0 or x >= 100.
True
False
Error
No Idea
The value of the expression 7 + 8 <= 15 is true.
True
False
Error
No Idea
{"name":"Relational Operators", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Operators which specify the relation between two variables by comparing them are known as?, How many operators are present in C++?, What is '==' operator known as?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker