Pergunta de entrevista da empresa HCLTech

C++ question : What is friend function?