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
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
What are associate containers?
What are single and multiple inheritances in c++?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
Describe new operator?
what is data encapsulation in C++?
What data encapsulation is in c++?
How would you implement a substr() function that extracts a sub string from a given string?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
What are the vectors in c++?
Is map thread safe c++?
Is c++ a good beginners programming language?
What is the latest c++ standard?
Differentiate between a constructor and a method in C++.
What new()is different from malloc()?