Home

C++ Programming MCQ Question with Answer

C++ Programming MCQ with detailed explanation for interview, entrance and competitive exams. Explanation are given for understanding.

Download C++ Programming MCQ Question Answer PDF

Question No : 22
Which of the following can legitimately be passed to a function?

A constant
A variable
A structure
A header file

Question No : 23
_____________ operator must have one class object

+
new
all
None of these

Question No : 24
Overloaded functions

Are a group of functions with the same name
All have the same number and types of arguments
Make life simpler for programmer
May fail unexpectedly due to stress

Question No : 25
In C++, the stream base class is

iostream
iofstream
ios
stdio

Question No : 26
The template function declaration specifies

template class
a generic class
exception
identifier

Question No : 27
In C++, the exception handler is invoked with a-

try block
throw exception
catch function
abort()

Question No : 28
The exception is processed using

unexpected()
perform()
catch()
try()