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 |
What is meant by forward referencing and when should it be used?
What is a unnitialised pointer?
Write about an iterator class?
Will c++ be replaced?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
Do we have to use initialization list in spite of the assignment in constructors?
What is diamond problem in c++?
Do class declarations end with a semicolon?
How do I run c++?
List the special characteristics of constructor.
sir i want to study the c++ course but ino what is the qualification and the study methode please reply more details in c++
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.