C++ Basic Programming MCQ Questions and Answers - 3

Question: 11

In order to exit from switch statement ___ statement is used.

(A) Case

(B) Break

(C) Continue

(D) Switch

Ans: B

Break

Question: 12

Nested if…else statement can be replaced by the statement of ___

(A) Do while

(B) For

(C) Switch-case

(D) Select-case

Ans: C

Switch-case

Question: 13

____ <condition> is called as the entry- check loop.

(A) Do

(B) For

(C) Break

(D) While

Ans: D

While

Question: 14

____  statement which chooses between two alternatives.

(A) While

(B) For

(C) If

(D) If else

Ans: D

If else

Question: 15

The operator >> is called as ____

(A) Stream operator

(B) Abstraction operator

(C) Insertion operator

(D) Extraction operator

Ans: D

Extraction operator

Related Questions