What issue do auto_ptr objects address?
Answers were Sorted based on User's Feedback
Answer / ravi
auto_ptr addresses, issues relating to memory management
like, Memory Leaks and Dangling pointers.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / guest
auto_ptr also takes care of auto-initializatio and
exception safety.
| Is This Answer Correct ? | 0 Yes | 1 No |
Can a program run without main function?
What is #include cstdlib in c++?
Which function should be used to free the memory allocated by calloc()?
write a program in c++ to implement stack using functions in header file stack.h
Difference between delete and delete[]?
5 Answers Infosys, TCS, Virtusa,
what are the iterator and generic algorithms.
What is the use of this pointer in c++?
What is a pointer how and when is it used?
What is c++ and its uses?
What is oops in c++?
What is :: operator in c++?
Is there a datatype string in c++?How is the memory allocation?