Hello Everyone, I am new in this community and I am confused to friend class and function in c++ programming. Someone asked me this question why we need this functionality in c++? and I have no answer at that time. I have researched it but still, I am confused. Can anyone here be c++ expert who explain to me why we need this? or suggest me some related question which is useful for my upcoming interview.