Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are smart pointer? Whats its use?

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


Please Help Members By Posting Answers For Below Questions

What is this weird colon-member (" : ") syntax in the constructor?

1072


What is the difference between global int and static int declaration?

1154


Explain the different access specifiers for the class member in c++.

1063


Describe delete operator?

1146


Can you write a function similar to printf()?

1191


What is the two main roles of operating system?

1126


How do you establish a has-a relationship?

1171


Can we delete this pointer in c++?

1274


What are the methods of exporting a function from a dll?

1300


Write is a binary search tree? Write an algo and tell complexity?

1074


What does extern mean in a function declaration in c++?

1272


What are guid?

1307


Difference between Abstraction and encapsulation in C++?

1212


What is c++ array?

1194


Is c++ built on c?

1081