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

Is string data type in c++?

0 Answers  


When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


What is struct c++?

0 Answers  


What is the output of: String a1 = "Hello"; String a2 = "world!"; String* s1 = &a2; String& s2 = a1; s1 = &a1; s2 = a2; std::cout << *s1 << " " << s2 << std::endl;

4 Answers   Lehman Brothers,


Difference between Operator overloading and Functional overloading?

10 Answers   HP,






WHO DEVELOPED C++?

6 Answers  


What is prototype in c++ with example?

0 Answers  


Explain working of printf?

8 Answers  


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

0 Answers  


What does count ++ do in c++?

0 Answers  


What are iterators in c++?

0 Answers  


What is the use of 'using' declaration in c++?

0 Answers  


Categories