Pergunta de entrevista da empresa Atos

what is deadlock how does virual function work