What is virtual function in C Plus Plus?

Total Post:24

Points:168
 1401  View(s)
Ratings:
Rate this:
Hi,

What  is virtual function in C ++?

Thanks in advance. 
  1. Post:604

    Points:4228
    Re: What is virtual function in C Plus Plus?

    A virtual function is member function that is declared within a base class and redefined by a derived class.
    Virtual functions are used to support run time polymorphism.  

      Modified On Jun-14-2013 02:01:24 AM

Answer