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?



Is there a new/delete equivalent of realloc?..

Answer / 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

More C++ General Interview Questions

How can a '::' operator be used as unary operator?

1 Answers  


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

0 Answers  


what is data Abstraction? and give example

147 Answers   Aaditya Info Solutions, American Express, CMS, College School Exams Tests, Data Entry Operator, First Advantage, Google, HCL, IBM, Infosys, Microsoft, Mind Links, NIIT, Oracle, Pact, QBit Systems, TCS, WAYA, Wipro,


Can user-defined object be declared as static data member of another class?

0 Answers  


Which operator can not be overloaded in C++?

1 Answers  


What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

0 Answers  


Which ide is best for c++?

0 Answers  


Differentiate between the manipulator and setf( ) function?

0 Answers  


What is protected inheritance?

0 Answers  


What does asterisk mean in c++?

0 Answers  


What does override mean in c++?

0 Answers  


What are the five types of inheritance in C++?

1 Answers  


Categories