Question: Friend functions (answer all that apply) must be defined in the class for which they are friends are not members of the class for which
Friend functions (answer all that apply) must be defined in the class for which they are friends are not members of the class for which they are friends4 Can only be friends for one class must be designated friend by the class that they can access. Can access private data members of a class my data {string name;} Is name private, public, protected, or none of these
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
