explain about the friend function
Answers
Answered by
1
Answer:
A friend function is a function that is specified outside a class but has the ability to access the class members' protected and private data. A friend can be a member's function, function template, or function, or a class or class template, in which case the entire class and all of its members are friends.
Answered by
0
Hey plz do brainlist
Attachments:
Similar questions