Top 150+ C++ Programming Quiz Questions and Answers - 1

Question: 1

____ literals are treated as array of characters.

(A) Graphic

(B) Character

(C) String

(D) Non-graphic

Ans: C

String

Question: 2

Which one holds the values or constants in memory boxes?

(A) Variable

(B) While

(C) Goto

(D) Switch

Ans: A

Variable

Question: 3

In which type of constant the Decimal numbers, integer and floating-point are related?

(A) Numeric

(B) String

(C) Char

(D) Boolean

Ans: A

Numeric

Question: 4

The basic types are collectively called as ___

(A) Looping

(B) Tokens

(C) Expression

(D) Variables

Ans: B

Tokens

Question: 5

____ are data items whose value cannot be changed.

(A) Class

(B) Return

(C) Constants

(D) Variable

Ans: C

Constants

Related Questions