What does new do in c++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is "map" in STL?

2 Answers  


Define a constructor?

0 Answers  


How to avoid a class from instantiation?

8 Answers   Symphony,


In which memory a class gets stored(in heap /in stack)? And why??

2 Answers  


What is realloc() and free()? What is difference between them?

1 Answers  






If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?

2 Answers  


When the design recommends static functions?

2 Answers   Symphony,


Explain explicit container.

0 Answers  


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].

0 Answers  


Show the declaration for a static member variable.

0 Answers  


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

0 Answers  


What is the difference between structure and class?

0 Answers  


Categories