Merits and demerits of friend function

Showing Answers 1 - 5 of 5 Answers

Prabhu Kumar V a

  • Jun 14th, 2006


   we can able to access the other class members in our class if,we use friend keyword.

   we CAN access the members without inheriting the class.


  Maximum size of the memory will occupied by objects according to the size of friend Members.

  we cant do any run time ploymorphism concepts in those members.


  Was this answer useful?  Yes

yogesh anasane

  • Nov 21st, 2012

1) Sometimes a friend function allows a more obvious syntax for calling a function rather than what a member function can do.
2) Friend function is used to increase versatility of overload operator.

  Was this answer useful?  Yes

rahul banerjee

  • May 27th, 2015

its the copy of the wbut organizer for BCA...but still it is usefull

  Was this answer useful?  Yes

vadivel kumar

  • Sep 17th, 2015

It can access the member function of another class

  Was this answer useful?  Yes


  • Nov 7th, 2015

- Provides additional functionality which is kept outside the class.
- Provides functions that need data which is not normally used by the class.
- Allows sharing private class information by a non member function.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account

Send   Reset


Related Answered Questions


Related Open Questions