Shall we use 'free' to free memory assigned by new, What are
the further consequences??
Answer Posted / aruna kumar samal
yes you can use free to free memory assignrd by new but it
wo not call the destructor.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How can you say that a template is better than a base class?
What does int * mean in c++?
Is vector a class in c++?
What are structs in c++?
Explain the concept of memory leak?
Explain the volatile and mutable keywords.
Why do we use classes in c++?
How is c++ used in the real world?
What is the meaning of string in c++?
What is c++ mutable?
What do you mean by early binding?
Mention the ways in which parameterized can be invoked.
What is the difference between *p++ and (*p)++ ?
What can I use instead of namespace std?
Describe exception handling concept with an example?