1

What happens if the base and derived class contains definition of a function with same prototype?

Correct Answer: Base class object will call base class function and derived class object will call derived class function.

Make the most of this question

This page focuses on one C++ MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

C++ MCQs MCQ: What happens if the base and derived class contains definition of a function with same prototype? | Extra Education