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 |
Is string data type in c++?
When there is a global variable and local variable with the same name, how will you access the global variable?
What is struct c++?
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;
Difference between Operator overloading and Functional overloading?
WHO DEVELOPED C++?
What is prototype in c++ with example?
Explain working of printf?
What is type of 'this' pointer? Explain when it is get created?
What does count ++ do in c++?
What are iterators in c++?
What is the use of 'using' declaration in c++?