C++ Virtual Functions Question:

Download Job Interview Questions and Answers PDF

What is problem with overriding functions?

C++ Virtual Functions Interview Question
C++ Virtual Functions Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what is overriding?Explain object slicing in C++?