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 gives the current position of the put pointer?

1042


What are vectors used for in c++?

1142


Is there any function that can skip certain number of characters present in the input stream?

1126


What do you mean by “this” pointer?

1127


What is runtime errors c++?

1168


Explain deep copy and a shallow copy?

1116


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

1159


Array base access faster or pointer base access is faster?

2358


Can we use clrscr in c++?

1129


What are enumerations?

1146


What is difference between c++ 11 and c++ 14?

1170


Do we have to use initialization list in spite of the assignment in constructors?

1051


what are Operators and explain with an example?

1223


How do you find out if a linked-list has an end?

1178


Is ca high or low level language?

1132