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 overriding possible in c++?

0 Answers  


What do you mean by storage classes?

1 Answers  


if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.

3 Answers  


What's the order in which the local objects are destructed?

0 Answers  


What is the maximum combined length of command line arguments including the space between adjacent arguments?

0 Answers  






How many namespaces are there in c++?

0 Answers  


Write a program which uses functions like strcmp(), strcpy()? etc

0 Answers  


Define a conversion constructor?

0 Answers  


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

0 Answers  


Can you please explain the difference between overloading and overriding?

0 Answers  


What is a c++ vector?

0 Answers  


What is the use of data hiding?

0 Answers  


Categories