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

Can we distribute function templates and class templates in object libraries?

0 Answers  


Difference between a homogeneous and a heterogeneous container

0 Answers  


What are compilers in c++?

0 Answers  


What are the various operations performed on stack?

0 Answers  


Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)

4 Answers   HTC, TCS,






What is dev c++ used for?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create

0 Answers  


How to defines the function in c++?

0 Answers  


Which is most difficult programming language?

0 Answers  


Describe new operator?

0 Answers  


What is the limitation of cin while taking input for character array?

0 Answers  


What are c++ variables?

0 Answers  


Categories