What issue do auto_ptr objects address?

Answers were Sorted based on User's Feedback



What issue do auto_ptr objects address?..

Answer / ravi

auto_ptr addresses, issues relating to memory management
like, Memory Leaks and Dangling pointers.

Is This Answer Correct ?    4 Yes 1 No

What issue do auto_ptr objects address?..

Answer / guest

auto_ptr also takes care of auto-initializatio and
exception safety.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C++ General Interview Questions

Can static member variables be private?

0 Answers  


Implement stack operations with pointers with appropriate exception checks.

0 Answers   Huawei,


What is istream c++?

0 Answers  


Can you sort a set c++?

0 Answers  


How do you decide which integer type to use?

0 Answers  


When do we run a shell in the unix system?

0 Answers  


What are Virtual Functions? How to implement virtual functions in "C" ?

3 Answers  


What is an adaptor class in c++?

0 Answers  


Can we use this pointer in a class specific, operator-overloading function for new operator?

0 Answers  


What do you mean by stack unwinding in c++?

0 Answers  


Can a function take variable length arguments, if yes, how?

0 Answers  


What is the difference between a template and a macro?

0 Answers  


Categories