Morgan Stanley interview question

Questions on Virtual functions