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
What is c++ vb?
What is a breakpoint?
What is constructor and destructor in c++?
What do you mean by function pointer?
What is runtime errors c++?
What are the uses of typedef in a program?
Why do we need constructors in c++?
why and when we can declar member fuction as a private in the class?
What is meant by forward referencing and when should it be used?
Does there exist any other function which can be used to convert an integer or a float to a string?
What is c++ & why it is used?
What is void pointer in c++ with example?
What's c++ used for?
What is abstraction c++?
Can java be faster than c++?