Red Kite Games interview question

Do you know what does a virtual function do and when to use virtual functions? Do you know the difference between stack and heap?