Q.

Which one of the following is correct, when a class grants friend status to another class?

A. The member functions of the class generating friendship can access the members of the friend class.
B. All member functions of the class granted friendship have unrestricted access to the members of the class granting the friendship.
C. Class friendship is reciprocal to each other.
D. There is no such concept.
Answer» B. All member functions of the class granted friendship have unrestricted access to the members of the class granting the friendship.
2.9k
0
Do you find this helpful?
36

View all MCQs in

CPP Programming

Discussion

No comments yet

Related MCQs