C++ virtual function is a member function of a class, whose functionality can be over-ridden in its derived classes. C++ virtual function is,
* A member function of a class * Declared with virtual keyword * Usually has a different functionality in the derived class * A function call is resolved at run-time
If you have the better answer, then send it to us. We will display your answer after the approval.