Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Relational Operators in C++

Descrição

A simple and intuitive quiz on Relational Operators in C++
Lakshya Gupta
Quiz por Lakshya Gupta, atualizado more than 1 year ago
Lakshya Gupta
Criado por Lakshya Gupta quase 9 anos atrás
238
0
1 2 3 4 5 (0)

Resumo de Recurso

Questão 1

Questão
Operators which specify the relation between two variables by comparing them are known as?
Responda
  • Logical Operators
  • Relational Operators
  • Assignment Operators
  • Arithmetic Operators

Questão 2

Questão
How many relational operators are present in C++?
Responda
  • Five
  • Three
  • Six
  • Eight

Questão 3

Questão
What is '==' Operator known as?
Responda
  • Arithmetic operator
  • Equal Equal operator
  • Equal to operator
  • None of these

Questão 4

Questão
'Not equal to' operator is represented by what in C++?
Responda
  • !=
  • /=
  • Not =
  • \=

Questão 5

Questão
'Less than or equal to' is represented by what in C++?
Responda
  • =<
  • <=
  • =>
  • >=

Questão 6

Questão
What value is returned if the comparison of two variables is True?
Responda
  • 4
  • 0
  • 2
  • 1

Questão 7

Questão
How do you equate value of variable B to a variable A?
Responda
  • A=C
  • A==D
  • A=B
  • A==B

Questão 8

Questão
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;
Responda
  • a is greater
  • b is greater
  • 20>10
  • None of these

0 comentários

There are no comments, be the first and leave one below:

Semelhante

A Level: English language and literature technique = Dramatic terms
Jessica 'JessieB
To Kill A Mockingbird GCSE English
naomisargent
Bayonet Charge flashcards
katiehumphrey
Macbeth Quotes To Learn
Sophie Brokenshire
Romeo & Juliet Quotes
Lucy Hodgson
How does Shakespeare present villainy in Macbeth?
maxine.canvin
English Literature Key Terms
charlotteoom
English Language Techniques
lewis001
Using GoConqr to teach English literature
Sarah Egan
Using GoConqr to study English literature
Sarah Egan