Page 1 of 1

Which rule will not affect the friend function?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
a) private and protected members of a class cannot be accessed from outside
b) private and protected member can be accessed anywhere
c) protected member can be accessed anywhere
d) private member can be accessed anywhere