0 votes 0 votes Runtime polymorphism can be achieved by: Accessing virtual function through the pointer of the base class Accessing virtual function through the object The derived class None of these Others ugcnetcse-june2007-paper2 + – go_editor asked Mar 28, 2020 • edited May 21, 2021 by soujanyareddy13 go_editor 2.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Option A The main use of virtual function is to achieve Runtime Polymorphism. Runtime polymorphism can be achieved only through a pointer (or reference) of base class type. Also, a base class pointer can point to the objects of base class as well as to the objects of derived class. https://www.tutorialspoint.com/virtual-functions-and-runtime-polymorphism-in-cplusplus#:~:text=The%20main%20use%20of%20virtual,the%20objects%20of%20derived%20class. Mohit Kumar 6 answered Jun 6, 2020 Mohit Kumar 6 comment Share Follow See all 0 reply Please log in or register to add a comment.