Answer Posted / 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 |
Post New Answer View All Answers
Why would you use pointers in c++?
What is c++ manipulator?
Explain about templates of C++.
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What is a singleton class c++?
Can char be a number c++?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
What is new in c++?
Write a program to find the Fibonacci series recursively.
How do you define/declare constants in c++?
What is private public protected in c++?
Tell me can a pure virtual function have an implementation?
Do the parentheses after the type name make a difference with new?
What is the difference between #import and #include in c++?
Please explain class & object in c++?