A Admin • 833K Points Coach 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: 19 Filed under category C++ Hashtags: Share Manage Tags
Discusssion
Login to discuss.