Home > DeveloperSection > Forums > What is virtual function in C Plus Plus?
Garry Winogrand
Garry Winogrand

Total Post:24

Points:168
Posted on    June-13-2013 7:44 AM

 Visual C++ Visual C++ 
Ratings:


 1 Reply(s)
 796  View(s)
Rate this:
Hi,

What  is virtual function in C ++?

Thanks in advance. 


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    June-14-2013 1:58 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick