What are smart pointer? Whats its use?
Answer / amit wagh
Smart Pointer is basically a class implementation, which
wraps around a pointer and provided functionalities like
ownership of allocated memory proper cleanup.
Smart pointers are used when dealing with memory allocated
on heap.
| Is This Answer Correct ? | 5 Yes | 0 No |
What is long in c++?
Is c++ vector dynamic?
What is basic if statement syntax?
What is a try block?
How a new operator differs from the operator new?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
What is meant by entry controlled loop?
0 Answers Agilent, ZS Associates,
What are structs in c++?
What is setfill c++?
How can I disable the "echo" feature?
Discussion on error handling of C++ .
What is c++ redistributable?