Answer Posted / devi
The above ans is also right.
->Friend function is the one that can access the private
data members of the same class and other class which it is
made as friend.
->The advantageous of friend function that function not called
by object of the class.
->That means without using object name and dot operator that call the friend function.It
can define private area and public area.
->The friend function define outside the class without using
the class name and scope resolution operator.
| Is This Answer Correct ? | 16 Yes | 7 No |
Post New Answer View All Answers
What is encapsulation oop?
Why is destructor used?
What does sksksk mean in text slang?
Whats is abstraction in oops?
What is the point of oop?
What is polymorphism and example?
can inline function declare in private part of class?
Is oop better than procedural?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is class and object in oops?
Explain virtual inheritance?
What is destructor example?
What is class and object with example?
What are main features of oop?
What are classes oop?