Google News
logo
CPP - Quiz(MCQ)
What is a pure virtual function?
A)
Any function that is made virtual
B)
A virtual function defined inside the base class
C)
A virtual function that has no definition relative to the base class
D)
A virtual function that is defined inside the derived class

Correct Answer :   A virtual function that has no definition relative to the base class


Explanation : A virtual function that has no definition relative to the base class is called a pure virtual function.

Advertisement