C++ Virtual Functions Question:

Download Job Interview Questions and Answers PDF

Do you know what is overriding?

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

Answer:

Defining a function in the derived class with same name as in the parent class is called overriding. In C++, the base class member can be overridden by the derived.

Download C++ Virtual Functions Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what are static and dynamic type checking?What is problem with overriding functions?