What is friend function?

Answer Posted / nitish

If you are not the actual member of the class and want the
access over the functions involved in the class, then it can
be done through friend function.

An easy access to the data is provided through friend functions.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is enum a class?

604


Why do we use inheritance?

628


Why do we use polymorphism?

573


Which method cannot be overridden?

576


Why do we use polymorphism in oops?

577






Whats is abstraction in oops?

589


What is overloading in oop?

572


What is oops in programming?

562


What is object and example?

602


What is encapsulation in oops?

534


which feature are not hold visual basic of oop?

1721


What are oops functions?

583


What does and I oop mean?

614


What are the important components of cohesion?

550


Which type does string inherit from?

614