Run-time polymorphism is achieved by ______.
Show answerHide answer
Correct answer: (B) Virtual function
Explanation
Virtual functions give run-time (dynamic) polymorphism: the function called is chosen at run time from the object's actual type. Overloading is resolved at compile time.