A virtual function allows you to :
A. Create a function that have no body.
B. Create an array of type pointer to base calls that can hold pointers to derived class
C. Group objects of different classes so, they can all be accessed by the same function code.
D. Use the same function call to execute member function of objects from different classes.
Answer:D
A virtual function allows you to :
A. Create a function that have no body. B. Create an array of type pointer to base calls that can hold pointers to derived class C. Group objects of different classes so, they can all be accessed by the same function code. D. Use the same function call to execute member function of objects from different classes.