Blizzard Entertainment interview question

How does virtual function work in C