Pregunta de entrevista de AMD

Explain how virtual functions work in C++.

Respuesta de la entrevista

Anónimo

31 ago 2012

virtual function declaration helps the compiler to do late binding of func call and its body which help to have overwriting of func which is following the principal of polymorphism virtual func helps to call the func of base class in derived class with different body..