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?



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

Post New Answer

More C++ General Interview Questions

How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

0 Answers  


Which field is used in c++?

0 Answers  


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

0 Answers  


Explain terminate() and unexpected() function?

0 Answers  


Can comments be nested?

0 Answers  


What is the output of the following program? Why?

0 Answers  


Write about all the implicit member functions of a class?

0 Answers  


What is the rule of three?

0 Answers  


What is the latest version on c++?

0 Answers  


What happens if a pointer is deleted twice?

0 Answers   Flextronics,


Why is c++ difficult?

0 Answers  


Explain the term memory alignment?

0 Answers  


Categories