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

Do inline functions improve performance?

1023


What is std :: endl?

982


Explain the term memory alignment?

1185


how to connect with oracle 9i with server in socket program in c/c++

2296


What is the difference between a template and a macro?

1013


What is the use of "new" operator?

1092


What is jump statement in C++?

1075


What are the rules about using an underscore in a c++ identifier?

1111


Is c++ low level?

998


What is c++ manipulator?

939


What is a forward referencing and when should it be used?

1116


What is binary object model?

979


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

947


What are the different types of polymorphism in c++?

1087


List the merits and demerits of declaring a nested class in C++?

990