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?



What is a friend function & its advantage?..

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

More OOPS Interview Questions

I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

0 Answers  


What is the difference between class and structure?

7 Answers  


what is the technical or oop name of object?

1 Answers  


What is the difference between Home and $Home?

2 Answers   TCS,


What is the highest level of cohesion?

0 Answers  


What is overriding vs overloading?

0 Answers  


What is inheritance write a program to show use of inheritance?

0 Answers  


what is use to destroy an object? illustrate.

5 Answers   TCS,


c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess

1 Answers   HCL, TCS,


In multilevel inheritance constructors will be executed from the .... class to ... class

2 Answers   ABCO, TCS,


Can we have inheritance without polymorphism?

0 Answers  


What are the main differences between procedure oriented languages and object oriented languages?

9 Answers   IBM, Infosys, Wipro,


Categories