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

Is dev c++ free?

0 Answers  


What is the difference between Char a[ ]=”string” and char *a=”String”

11 Answers   Adobe,


What are the implicit member functions of class?

0 Answers  


Why preincrement operator is faster than postincrement?

5 Answers  


What is iterator in c++?

0 Answers  


Write a program to find the Factorial of a number

0 Answers  


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

0 Answers  


Are vectors faster than arrays?

0 Answers  


Define a constructor - what it is and how it might be called (2 methods)?

0 Answers  


what is importance of data sturture in a programming language?

22 Answers   L&T, TCS, Wipro,


What is the identity function in c++? How is it useful?

0 Answers  


What is class definition in c++ ?

0 Answers  


Categories