Synopsys Interview Question

some c++ virtual hierarchy idea.