WHAT IS VIRTUAL FUNCTION IN C PLUS PLUS?

Garry Winogrand

Total Post:24

Points:168
Posted by  Garry Winogrand
 1087  View(s)
Ratings:
Rate this:
Hi,

What  is virtual function in C ++?

Thanks in advance. 
  1. AVADHESH PATEL

    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!