Top 150+ Solved Object Oriented Programming with C++ (OOP in C++) MCQ Questions Answer
Q. The operators can’t be overloaded
a. Binary operators
b. Unary operators
c. Ternary operator
d. None
Q. Which of the following is not correct
a. Only existing operator can be overloaded
b. The overloaded operator must have at least one operand
c. We can change the basic meaning of the operator
d. Overloaded operators follow the syntax rule of original operator
Q. The variable that contains the address of constant or variable
a. Function
b. Array
c. pointer
d. structure
Q. The pointer refers to an object that has called the member function currently
a. this
b. address
c. virtual function
d. none
Q. Conversion of data type is called
a. self referencing
b. type casting
c. virtual function
d. abstract class
Q. The function that act as an interface to base & derived class
a. function overloading
b. virtual function
c. constructor
d. friend
Q. The keyword to convert constant into variable
a. Const_cast
b. reinterpret_cast
c. static_cast
d. implicit
Q. The keyword to convert pointer into non pointer & non pointer into pointer
a. Const_cast
b. reinterpret_cast
c. static_cast
d. implicit
Q. Treating the address of the object of the derived class as the address of the base class means
a. Up casting
b. down casting
c. early binding
d. late binding
Q. The empty virtual function are called
a. pure /donothing
b. virtual table
c. polymorphism
d. virtual base class
Q. A stream of byte that is the interface between IO and IO devices
a. Streams
b. class
c. object
d. file
Q. The class that derived from standard library ios contain input functions
a. Ios
b. iostream
c. istream
d. ostream