Bsic C++ Quiz Questions & Answers - 2

Question: 6

Program statements that cause jumps are called as ____ statements or structures.

(A) Assignment

(B) Increment

(C) Decrement

(D) Control

Ans: D

Control

Question: 7

Which of the following statements marks the end of the function and also transfers control to the statement after call statement?

(A) Stop

(B) Continue

(C) Break

(D) Return

Ans: D

Return

Question: 8

Data is read from the keyboard during run time by using the object ___

(A) Nic

(B) Cin

(C) Cni

(D) Nci

Ans: B

Cin

Question: 9

A loop embedded within another loop is called ___

(A) Continue

(B) Loop

(C) Nested

(D) Break

Ans: C

Nested

Question: 10

How many kinds of loops are there in C++?

(A) 1

(B) 2

(C) 3

(D) 4

Ans C

3

Related Questions