C++ Objective Questions and Answers Pdf - 1

Question: 1

Rick Mascitti coined the name ___

(A) Visual BASIC

(B) COBOL

(C) C++

(D) BASIC

Ans: C

C++

Question: 2

____ is a sequence of characters surrounded by double quotes.

(A) Constant

(B) Numeric

(C) Character

(D) String literal

Ans: D

String literal

Question: 3

How many fundamental data types are there in C++?

(A) 1

(B) 2

(C) 3

(D) 4

Ans: C

3

Question: 4

____ is an operator which returns the memory size requirements in terms of bytes.

(A) Double

(B) Size

(C) Size of

(D) Long

Ans: C

Size of

Question: 5

What are shift operators?

(A) << 

(B) >> 

(C) > 

(D) Both (a) and (b)

Ans: D

Both (a) and (b)

Related Questions