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 multilevel inheritance in oop?
Can an interface inherit a class?
What is the main feature of oop?
Why do we need oop?
What is basic concept of oop?
What are the 3 pillars of oop?
What is polymorphism programming?
What is the advantage of oop over procedural language?
What is ambiguity in inheritance?
What is difference between oop and pop?
What is and I oop mean?
What is property in oops?
Which type does string inherit from?
What is the example of polymorphism?
What is new keyword in oops?