a) A function which can access all the private, protected and public members of a class
b) A function which is not allowed to access any member of any class
c) A function which is allowed to access public and protected members of a class
d) A function which is allowed to access only public members of a class
What is a friend function in C++?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is a friend function in C++?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!