Pregunta de entrevista de Tech Mahindra

what is a friend function?