Bloomberg Interview Question

what is virtual function?

Interview Answer

Anonymous

Aug 31, 2010

function of the derived class pointed to by a base class pointer assigned with a derived class object is a virtual function. It is denoted with a keyword virtual in the base class

1