Friend Class and Function in C++

shivambhateleshivambhatele Posts: 4
edited March 2020 in C/C++test

Hello Everyone, 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 and found this 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.

Sign In or Register to comment.