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

What do you mean by function and operator overloading in c++?

0 Answers  


What is type of 'this' pointer? Explain when it is get created?

0 Answers  


Does dev c++ support c++ 11?

0 Answers  


Define linked lists with the help of an example.

0 Answers  


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

0 Answers  






What is a virtual destructor? Explain the use of it?

0 Answers  


Is c++ slower than c?

0 Answers  


How do you clear a map in c++?

0 Answers  


What do you mean by call by value and call by reference?

1 Answers  


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

0 Answers  


What is null and void pointer?

0 Answers  


Define macro.

0 Answers  


Categories