MM Solutions interview question

Explain virtual functions in c++