What is meant by virtual function in C++ programming ?
Vishalini.R Answered question June 27, 2023
A virtual function in C++ is a member function of a base class that can be redefined in a derived class to create polymorphism. The virtual keyword can be used to declare the function in the base class.
Vishalini.R Answered question June 27, 2023
