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
what is c++
What are the advantages of using a pointer?
Mention the ways in which parameterized can be invoked.
Who created c++?
What is the insertion operator and what does it do?
What methods can be overridden in java?
why is c++ called oops? Explain
Is it possible to provide special behavior for one instance of a template but not for other instances?
How do you remove an element from a set in c++?
What are the different types of comments allowed in c++?
What are the restrictions apply to constructors and destructors?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
What is the difference between struct and class?
Differentiate between a pointer and a reference with respect to c++.
What are the types of pointer?