Pregunta de entrevista de TransMarket Group

How does virtual functions work in C++?