Blizzard Entertainment Interview Question

How does virtual function work in C