Computer Science, asked by abhijeetbhosale253, 5 hours ago

explain about the friend function​

Answers

Answered by gursharanjali
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 thannu2009
0
Hey plz do brainlist
Attachments:
Similar questions