Domanda di colloquio di Atos

what is deadlock how does virual function work