Answer Posted / supriya
friend function is the one that can access the private data
members of the class to which it is made as friend. this is
advantageous when any class needs any computation which
requires the private data members of two different classes.
in such case that class can be made as friend to both the
classes whose data it needs
| Is This Answer Correct ? | 27 Yes | 4 No |
Post New Answer View All Answers
What does it mean when someone says I oop?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is constructor in oop?
What does oop mean in snapchat?
Please send ford technologies placement paper 2 my mail id
Can static class have constructor?
to find out the minimum of two integer number of two different classes using friend function
How does polymorphism work?
How is class defined?
What is the purpose of enum?
Is react oop?
What is the advantage of oop over procedural language?
Prepare me a program for the animation of train
What is polymorphism programming?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.