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 |
Explain selection sorting?
Mention the ways in which parameterized can be invoked. Give an example of each.
How to implement flags?
In C++ cout is: a) object b) class c) something else
11 Answers Infosys, Lehman Brothers,
What is cin clear () in c++?
Explain operator overloading.
Difference between a copy constructor and an assignment operator.
What is function overloading c++?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
Can you Mention some Application of C/C++?
Are c and c++ similar?
How do we implement inheritance in c++?