Sollicitatievraag bij Shell

What is difference between virtual function and friend function?