What issue do auto_ptr objects address?
Answers were Sorted based on User's Feedback
Answer / ravi
auto_ptr addresses, issues relating to memory management
like, Memory Leaks and Dangling pointers.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / guest
auto_ptr also takes care of auto-initializatio and
exception safety.
| Is This Answer Correct ? | 0 Yes | 1 No |
Write a program to show polymorphism in C++?
Explain the volatile and mutable keywords.
Write a program to reverse a linked list?
8 Answers Catalytic Software, Satyam,
What is the copy-and-swap idiom?
What is a pointer with example?
Can we overload operator in c++?
If I is an integer variable, which is faster ++i or i++?
Can we generate a C++ source code from the binary file?
What is linked list in c++?
What is the output of this prog. ? struct A { A(){ cout << \"A\"; } }; struct B { B(){ cout << \"B\"; } }; struct C { C(){ cout << \"C\"; } }; struct D { D(){ cout << \"D\"; } }; struct E : D { E(){ cout << \"E\"; } }; struct F : A, B { C c; D d; E e; F() : B(), A(),d(),c(),e() { cout << \"F\"; } };
Under what conditions is multiple inheritance not recommended?
How do you compile the source code with your compiler?