A virtual function is a member function that is declared in a base class and redefined in a derived class. #cpp #oop #coding #programming #code #tech