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

Whats is abstraction in oops?

0 Answers  


how to swap to variables without using thrid variable in java?

5 Answers  


What is polymorphism what are the different types of polymorphism?

0 Answers  


what is the 3 types of system development life cycle

1 Answers  


wht is major diff b/w c and c++?

10 Answers  


what are the different types of qualifier in java?

0 Answers   TCS,


i^=j; j^=i; i^=j; value of i,j

1 Answers  


WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??

21 Answers   Biocon, MIT, NIIT,


1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

1 Answers   Nagarro,


JAVA is FULLY OBJECT ORIENTED PROGRAMING LANGUAGE?

3 Answers  


Why is oop useful?

0 Answers  


design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }

0 Answers  


Categories