In C++, virtual functions are used to
- create functions that can never be accessed
- enable the use of the same function call to invoke functions from different classes
- to make a base class abstract
- to create an array of base class pointers that can point to different functions
Answer:
Option b: enable the use of the same function call to invoke functions from different
classes
Explanation Here
0 Comments