Shall we use 'free' to free memory assigned by new, What are
the further consequences??
Answer Posted / uma sankar pradhan
No,we shouldnot use 'free' to free memory assigned by new.
It causes memory leak and sometimes hanging of the system
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
When you overload member functions, in what ways must they differ?
When does a name clash occur in c++?
Comment on c++ standard exceptions?
what are the characteristics of Class Members in C++?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
How would you use the functions memcpy(), memset(), memmove()?
What does #define mean in c++?
How would you call C functions from C++ and vice versa?
Difference between an inspector and a mutator
What are the five basic elements of a c++ program?
What kind of problems can be solved by a namespace?
In a function declaration, what does extern mean?
Can you sort a set c++?
What is the difference between #import and #include in c++?
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?