Genetec Interview Question

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