C++ Programming Objective Questions and Answers Pdf - 2

Question: 6

Where a condition is checked to see whether to do one or more iteration is _____

(A) Definite iteration

(B) Sequencing

(C) Indefinite iteration

(D) None of these

Ans: B

Sequencing

Question: 7

Which one is the valid real constant?

(A) 85.46

(B) 85

(C) 0.85

(D) Both a and c

Ans: D

Both a and c

Question: 8

______ variables are sensitive to the data type they point to.

(A) Char

(B) Pointer

(C) Integer

(D) Float

Ans: B

Pointer

Question: 9

For example class boy, ____ is a user defined data type of class.

(A) Class

(B) Type

(C) Boy

(D) User

Ans: C

Boy

Question: 10

When a=6, c= ++a what will be the value of c?

(A) 6

(B) 7

(C) 8

(D) 9

Ans: B

7

Related Questions