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

Explain public, protected, private in c++?

1 Answers  


What are maps in c++?

1 Answers  


Is string an object in c++?

1 Answers  


Explain how functions are classified in C++ ?

1 Answers  


What are the main differences between C and C++?

1 Answers  


Can we change the basic meaning of an operator in c++?

1 Answers  


Explain binary search.

1 Answers  


When does a name clash occur in c++?

1 Answers  


Which one is a preferred language C or C++? Why?

1 Answers  


Difference between overloaded functions and overridden functions

1 Answers  


How can you say that a template is better than a base class?

1 Answers  


What is the function of I/O library in C++ ?

1 Answers   HCL,


Categories