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...

Friend functions can access private and protected members of a class.

Answer Posted / nashiinformaticssolutions

Virtual destructors ensure proper cleanup of resources in derived classes when deleting through a base class pointer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

1009


Explain dangling pointer.

1074


Is c++ free?

1039


What is a breakpoint?

957


What is prototype for that c string function?

1073


What does it mean to declare a member variable as static?

1004


Where must the declaration of a friend function appear?

907


Can we use pointers in c++?

1003


What is the difference between a declaration and a definition?

1041


What is constructor and destructor in c++?

1058


Can I make ios apps with c++?

988


What is the difference between containment and delegation?

1244


What does the nocreate and noreplace flag ensure when they are used for opening a file?

1059


What is c++ mutable?

1081


What happens if a pointer is deleted twice?

1223