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

Is there a new/delete equivalent of realloc?

Answer Posted / rohit sah

No. It would have a number of difficult problems. Some of these are:
- Should the old instances in the memory be deleted and re-instantiated?
- How about contained classes?
- How about instances owned by the classes to be reallocated? These often have a pointer to their owner.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a tree in c++?

957


Are vectors passed by reference c++?

973


Is c++ platform dependent?

1070


What is a container class?

1118


What are manipulators in c++ with example?

1053


What are the two shift operators and what are their functions?

1077


What kind of problems can be solved by a namespace?

1078


What is stack unwinding?

1121


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

1059


What is the basic concept of c++?

999


Is c++ the hardest programming language?

1120


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

969


why and when we can declar member fuction as a private in the class?

2060


What is boyce codd normal form in c++?

1145


Explain terminate() and unexpected() function?

1087