Question d’entretien chez Shell

What is difference between virtual function and friend function?