1. Computer Science Engineering (CSE)
  2. CPP Programming
  3. Which one of the following is correct, w...
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.
View all MCQs in:   CPP Programming

Discussion