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 c++ good for?
What are the popular tools used to detect memory leaks in c++
Write a program which employs Recursion
Explain the use of vtable.
What is the difference between object-oriented programming and procedural programming?
Differentiate between declaration and definition in C++?
Why is the function main() special?
What is setf in c++?
Is turbo c++ free?
When should you use global variables?
Which operator can not be overloaded in C++?
What are the different data types present in C++?