0% found this document useful (1 vote)
2K views3 pages

C++ Quiz Questions Answers

The document contains 5 multiple choice questions about C++ concepts like variables, storage specifiers, data types, and operators. Each question is followed by the correct answer. The questions cover topics such as the separator used between variables, storage specifiers in C++, data type modifiers, and logical operators.

Uploaded by

Angelgodson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
2K views3 pages

C++ Quiz Questions Answers

The document contains 5 multiple choice questions about C++ concepts like variables, storage specifiers, data types, and operators. Each question is followed by the correct answer. The questions cover topics such as the separator used between variables, storage specifiers in C++, data type modifiers, and logical operators.

Uploaded by

Angelgodson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

C++ Quiz Questions and Answers Pdf

Question: 1

Every variable should be separated by ___ separator.

(A) Dot

(B) Colon

(C) Comma

(D) Semicolon

Ans: C

Comma

Question: 2

Auto, static, extern and register are called as ___

(A) Static

(B) Register

(C) Auto

(D) Storage specifier

Ans: D

Storage specifier

Question: 3
How many storage specifies are there in a C++?

(A) 2

(B) 3

(C) 4

(D) 5

Ans: C

Question: 4

Signed, unsigned, long and short are some of the ___

(A) Void

(B) Data

(C) Derived data

(D) Modifiers

Ans: D

Modifiers

Question: 5

Logical AND (&&) and Logical OR (||) are ___ operators.

(A) Logical

(B) Equality
(C) Class member

(D) Comma

Ans: A

Logical

You might also like