Which of the following functions can have access to the protected data of a class?
- A function that is friend of the class
- A member function of a class declared friend of the class
- A member function of a derived class
- All the above
Answer:
Option d: All the above
Explanation Here
0 Comments