Declaring a function as a friend within a class _______ make that function a member of the class. 

  • does 
  • doesn't 
  • might 
  • could
Declaring a function as a friend within a class gives that function the ability to access the class's private and protected members. However, it doesn't make that function a member of the class. A friend function remains a non-member function, but it's just granted special access privileges.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *