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 the use of friend function?

Answer Posted / ritu shekhwat.

..friend function is a special member function of the class.
..it is precided with the friend keyword.
..it is access the private data of the class.
..some situation where the private data of the one class
can require in another class we declare a function as a
friend.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use session in php?

1037


What is session in php why it is use?

989


Why namespace is used in php?

988


What function do we use to find length of string, and length of array?

959


When to use self over $this?

1002


How to remove the new line character from the end of a text line in php?

976


How to create an array from php string?

1047


How can I embed a java program in php file and what changes have to be done in php.ini file?

962


How to execute a function in php?

942


What are regular expressions in programming?

906


What is mod_php?

1015


How can a cross-site scripting attack be prevented by php?

989


How can I prevent sql-injection in php?

1045


What is isset function in php?

1184


Explain the syntax for ‘foreach’ loop with example.

960