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

Tell me how would you declare a function that receives one parameter name hello?

928


What is asort php?

908


Is salary a ratio or interval?

958


I am writing an application in php that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with php?

889


What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?

868


A process can run only in the background. State Whether True or False?

1069


Explain the difference between unlink() and unset()?

902


What is htaccess in php?

1171


What is the maximum size of a table in mysql?

954


How does php sessions work?

891


what is mean by portal

1955


How to find the position of the first occurrence of a substring in a string?

960


What are the advantages of using php?

920


How to enable error reporting in php?

1002


What is the advantage of runtime polymorphism?

889