Bloomberg interview question

what is virtual function?

Interview Answer

Anonymous

31 Aug 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