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 the extraction operator and what does it do?

1086


Explain virtual destructor?

1214


Can we make copy constructor private in c++?

1061


How do you flush std cout?

1105


What is an inclusion guard?

1206


When we use Abstract Class and when we use Interface?where we will implement in real time?

2188


What are the restrictions apply to constructors and destructors?

1085


Is java based off c++?

985


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3889


What do you mean by funtion prototype?

1084


Define token in c++.

1153


Is there finally in c++?

1112


What is runtime errors c++?

1131


Why main function is special in c++?

1137


Explain all the C++ concepts using examples.

1213