Why do we use friend function 2024?

Julian Allen | 2023-05-05 05:47:26 | page views:1834
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Ethan Martinez

Works at the International Atomic Energy Agency, Lives in Vienna, Austria.
Friend Functions. A C++ friend functions are special functions which can access the private members of a class. They are considered to be a loophole in the Object Oriented Programming concepts, but logical use of them can make them useful in certain cases.
2023-05-10 05:47:26

Lucas Scott

QuesHub.com delivers expert answers and knowledge to you.
Friend Functions. A C++ friend functions are special functions which can access the private members of a class. They are considered to be a loophole in the Object Oriented Programming concepts, but logical use of them can make them useful in certain cases.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4