Pergunta de entrevista da empresa AMD

Explain how virtual functions work in C++.

Resposta da entrevista

Sigiloso

31 de ago. de 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..