Pergunta de entrevista da empresa Genetec

Showed code involving inheritance and virtual functions and asked for the output.