define friend function
Answers
Answered by
1
Answer:
A friend function of a class is defined outside that class' scope but it has the right to access all private and protected members of the class. ... A friend can be a function, function template, or member function, or a class or class template, in which case the entire class and all of its members are friends
Explanation:
Similar questions
Social Sciences,
24 days ago
Math,
24 days ago
English,
24 days ago
Social Sciences,
1 month ago
World Languages,
1 month ago
Math,
8 months ago
Math,
8 months ago