Advertise with us

What is virtual function in C Plus Plus?

Hi,

What  is virtual function in C ++?

Thanks in advance. 
Last updated:6/14/2013 1:58:17 AM

1 Answers

AVADHESH PATEL
AVADHESH PATEL

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.  

Answer