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 what are the __construct() and __destruct() methods in a php class?

967


What are sql injections, how do you prevent them and what are the best practices?

1008


When a conditional statement is ended with an endif?

908


List types of array are available in php?

955


How big is nvarchar max?

965


What is class extend in php?

1000


Explain the difference between $var and $$var?

929


Why do we use htaccess and where?

975


What is the difference between php and cakephp?

972


What are some new features introduced in php7?

8764


What is the difference between get and post method in php?

919


Explain the types of string comparision function in PHP

916


Which function parses an English textual date or time into Unix timestamp in PHP.

969


What is the use of "enctype" attribute in a html form?

987


What are the difference between abstract class and interface in oops?

962