InterviewSolution
Saved Bookmarks
| 1. |
Tell me about virtual function |
|
Answer» VIRTUAL function is a member function in the base class that you redefine in a derived class. A virtual function is DECLARED USING the virtual keyword. When the function is MADE virtual, C++ determines which function is to be INVOKED at the runtime based on the type of the object pointed by the base class pointer. |
|