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

const char * char * const What is the differnce between the above two?

11 Answers   TCS,


what is the use of Namespace in c++.

3 Answers  


You have to take 2 arrays of length 10. Input the values of array 1 from the user. Then copy the values of array 1 to array 2 in ascending order For example if user enters 9, 5, 6, 8, 1, 0, 2, 7, 4, 3 then copy the smallest element i.e. 0 first followed by 1, 2 and so

1 Answers  


How are Structure passing and returning implemented by the compiler?

0 Answers  


Mention the storage classes in c++.

0 Answers  


Where is atoi defined?

0 Answers  


What is function prototyping? What are its advantages?

0 Answers  


Differentiate between C and C++.

0 Answers   Wipro,


What is size of null class?

6 Answers   HP,


What is ios in c++?

0 Answers  


Explain what happens when a pointer is deleted twice?

0 Answers  


What is #include iostream?

0 Answers  


Categories