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

Why would you use pointers in c++?

1146


What is c++ manipulator?

983


Explain about templates of C++.

1148


What is meant by entry controlled loop? What all C++ loops are exit controlled?

1079


What is a singleton class c++?

1031


Can char be a number c++?

1040


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3841


What is new in c++?

1098


Write a program to find the Fibonacci series recursively.

1069


How do you define/declare constants in c++?

1046


What is private public protected in c++?

1047


Tell me can a pure virtual function have an implementation?

1023


Do the parentheses after the type name make a difference with new?

1081


What is the difference between #import and #include in c++?

1106


Please explain class & object in c++?

1092