Marvell Technology interview question

How does virtual functions implemented in c++