C++ Virtual Functions Question:

Explain the problem with overriding functions?

Tweet Share WhatsApp

Answer:

Overriding of functions occurs in Inheritance. A derived class may override a base class member function. In overriding, the function names and parameter list are same in both the functions.

Download C++ Virtual Functions PDF Read All 30 C++ Virtual Functions Questions
Previous QuestionNext Question
What is Virtual base class uses?Do you know what are pure virtual functions?