If class A defines class B as its friend then-03451
If class A defines class B as its friend, then:
This multiple choice question (MCQ) is related to the book/course vu cs301 Data Structures. It can also be found in vu cs301 Final Term - Quiz No.15.
If class A defines class B as its friend, then:
Class A can access private members of Class B
Class B can access only the public members of Class A
Class A can access only the public members of Class B
Class B can access private members of Class A