Vidyalelo
C++ Programming · Q63

Inheritance in C++

Programming · C++ Programming · question 63

Q63

What is a virtual function in C++?

A.
Any member function of a class
B.
All functions that are derived from the base class
C.
All the members that are accessing base class data members
D.
All the functions which are declared in the base class and is re-defined/overridden by the derived class
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board