adspace
Answer Posted / Neetu Singh
The auto_ptr object in C++ handles issues related to memory management, specifically for objects that are dynamically allocated using new. It ensures that the memory is properly deallocated when the auto_ptr object goes out of scope or is assigned another object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers