What does new do in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is "map" in STL?
Define a constructor?
How to avoid a class from instantiation?
In which memory a class gets stored(in heap /in stack)? And why??
What is realloc() and free()? What is difference between them?
If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?
When the design recommends static functions?
Explain explicit container.
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
Show the declaration for a static member variable.
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
What is the difference between structure and class?