Pergunta de entrevista da empresa TransMarket Group

How does virtual functions work in C++?