A Admin • 37.39K Points Coach Bookmark Embed Report View In MB-Short Q. What is the purpose of the 'friend' function in C++? (A) To allow access to private and protected members of a class (B) To create multiple objects of a class (C) To inherit a class (D) To define a global function Correct Answer - Option(A) Views: 112 Filed under category C++ Share
Discusssion
Login to discuss.