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 do you know about friend class and friend function?

Answer Posted / hrpynux@gmail.com

A friend function is a function that is specified outside a class but has the ability to access the class members' protected and private data. A friend can be a member's function, function template, or function, or a class or class template, in which case the entire class and all of its members are friends.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ostream in c++?

1015


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

1007


Explain the isa and hasa class relationships.

1038


what do you mean by volatile variable?

1056


Explain differences between new() and delete()?

1100


Please explain class & object in c++?

1095


What is the use of turbo c++?

1054


Explain the scope of resolution operator.

1113


What is this weird colon-member (" : ") syntax in the constructor?

1029


Explain stack & heap objects?

1057


What is guard code in c++?

1171


How can I learn c++ easily?

1084


What are the basics of local (auto) objects?

1146


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

2353


What is one dimensional array in c++?

1113