C++ MCQ Questions and Answers - 1

Question: 1

Which of the following is not a C++ keyword?

(A) This

(B) New

(C) Cont

(D) If

Ans: C

Cont

Question: 2

____ is a variable that holds a memory address.

(A) Long double

(B) Float

(C) Char

(D) Pointer

Ans: D

Pointer

Question: 3

Addressing is done using ___ number system.

(A) Decimal

(B) Hexadecimal

(C) Octal

(D) Binary

Ans: B

Hexadecimal

Question: 4

Which one of the following is a membership operator?

(A) !

(B) &

(C) ::

(D) .

Ans: C

::

Question: 5

____ Operator requires two operands.

(A) Logical

(B) Binary

(C) Unary

(D) Ternary

Ans: B

Binary

Related Questions