Domanda di colloquio di Tata Consultancy Services

Explain friend function with an example?