Zusammenfassung der Ressource
Frage 1
Frage
Operators which specify the relation between two variables by comparing them are known as?
Antworten
-
Logical Operators
-
Relational Operators
-
Assignment Operators
-
Arithmetic Operators
Frage 2
Frage
How many relational operators are present in C++?
Frage 3
Frage
What is '==' Operator known as?
Antworten
-
Arithmetic operator
-
Equal Equal operator
-
Equal to operator
-
None of these
Frage 4
Frage
'Not equal to' operator is represented by what in C++?
Frage 5
Frage
'Less than or equal to' is represented by what in C++?
Frage 6
Frage
What value is returned if the comparison of two variables is True?
Frage 7
Frage
How do you equate value of variable B to a variable A?
Frage 8
Frage
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;
Antworten
-
a is greater
-
b is greater
-
20>10
-
None of these