C++ Programming MCQ Questions and Answers Pdf - 1

Question: 1

The ____ operator must have at least one operand of user defined type.

(A) New

(B) Overloaded

(C) Existing

(D) Binary

Ans: B

Overloaded

Question: 2

Which of the following operators cannot be overloaded?

(A) +

(B) ++

(C) --

(D) ::

Ans: D

::

Question: 3

The ability of a function to process the message or data in more than one form is called as ____

(A) Function overloading

(B) Function type

(C) Recursive function

(D) Inline function

Ans: A

Function overloading

Question: 4

The mechanism of giving special meaning to an operator is called as ____

(A) Data overloading

(B) Function overloading

(C) Operator overloading

(D) Variable overloading

Ans: D

Variable overloading

Question: 5

During integral promotion, a char data type can be converted to ___

(A) Double

(B) Integer

(C) Float

(D) All the above

Ans: D

All the above

Related Questions