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
What is this weird colon-member (" : ") syntax in the constructor?
What is the difference between global int and static int declaration?
Explain the different access specifiers for the class member in c++.
Describe delete operator?
Can you write a function similar to printf()?
What is the two main roles of operating system?
How do you establish a has-a relationship?
Can we delete this pointer in c++?
What are the methods of exporting a function from a dll?
Write is a binary search tree? Write an algo and tell complexity?
What does extern mean in a function declaration in c++?
What are guid?
Difference between Abstraction and encapsulation in C++?
What is c++ array?
Is c++ built on c?