Operators which specify the relation between two variables by comparing them are known as?
Logical Operators
Relational Operators
Assignment Operators
Arithmetic Operators
How many relational operators are present in C++?
Five
Three
Six
Eight
What is '==' Operator known as?
Arithmetic operator
Equal Equal operator
Equal to operator
None of these
'Not equal to' operator is represented by what in C++?
!=
/=
Not =
\=
'Less than or equal to' is represented by what in C++?
=<
<=
=>
>=
What value is returned if the comparison of two variables is True?
4
0
2
1
How do you equate value of variable B to a variable A?
A=C
A==D
A=B
A==B
What would be the output of the following code? int a=10,b=20;
if(a>b) cout<<"a is greater"<<endl;
else cout<<"b is greater"<<endl;
a is greater
b is greater
20>10