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?



What do you know about friend class and friend function?..

Answer / 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

More C++ General Interview Questions

How can virtual functions in c++ be implemented?

0 Answers  


Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.

3 Answers  


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

0 Answers  


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

0 Answers  


What is a friend function in c++?

2 Answers  


How do I run c++?

0 Answers  


sir there is some problem with nokia5130c-2,when we are trying to upload movies from net then there is a error occurred"FORMAT NOT SUPPORTED" bt its all ready in 3gp format.please tell me what i do now?

2 Answers   Nokia,


How do you test your code?

4 Answers   Microsoft,


What c++ is used for?

0 Answers  


Can create new c++ operators?

0 Answers  


Why do you use the namespace feature?

0 Answers  


what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??

4 Answers  


Categories