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 |
const char * char * const What is the differnce between the above two?
what is the use of Namespace in c++.
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
How are Structure passing and returning implemented by the compiler?
Mention the storage classes in c++.
Where is atoi defined?
What is function prototyping? What are its advantages?
Differentiate between C and C++.
What is size of null class?
What is ios in c++?
Explain what happens when a pointer is deleted twice?
What is #include iostream?