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 friend function?

Answer Posted / vigneswari

FRIEND FUNCTION IS USED TO ACCESS THE DATAMEMBERS,MEMBER
FUNCTION DECLARED UNDER PRIVATE(access
specifier)...normaly we canot access the members under
private for the whole program.......BUT USING THIS
FRIENDFUNCTION WE CAN ACCESS THE FUNCTION UNDER
PRIVATE................BEST WISHES TO B A GUD
PROGRAMMER...ALL THE BEST

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a programe to calculate the simple intrest and compund intrest using by function overlading

2176


Why interface is used?

1002


write a C++ program for booking using constructor and destructor.

2525


How does polymorphism work?

1117


What is polymorphism and its types?

1050


Why it is called runtime polymorphism?

1114


What is abstraction in oops?

1021


What is coupling in oops?

1116


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4723


Why is abstraction needed?

1023


What is inheritance in oop?

1017


What is static modifier?

1191


What makes a language oop?

1033


Can we have inheritance without polymorphism?

1013


What is overriding vs overloading?

1046