Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a friend function & its advantage?

Answer Posted / kishor khatri

A friend function is a non member function of a class, that
is declared as a friend using the keyword "friend" inside
the class. By declaring a function as a friend, all the
access permissions are given to the function. It is like
allowing access to ones personal belongings to a friend.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we define a class within the interface?

1022


What is the benefit of oop?

1036


What is overriding in oop?

1028


What is the types of inheritance?

1084


Can an interface inherit a class?

1045


Why is polymorphism important in oop?

1057


Why do we use oops?

1002


What is a superclass in oop?

1153


What is difference between data abstraction and encapsulation?

1066


what's the basic's in dot net

2170


Where is pseudocode used?

1087


What is a class and object?

1035


Why it is called runtime polymorphism?

1114


What is the problem with multiple inheritance?

1146


What is static in oop?

1065