What is Smart Pointer?

What is Smart Pointer?

Its a bassicallly a objects which is store pointers to dynamically allocated objects. These pointers are seen as owning the object pointed to, And thus responsible for deletion of the object when it is no longer needed.smart pointer is an abstract data type that simulates a pointer while providing additional features.

Date:2001-01-09 00:00:00

Post Your Answers

User Email:

User Name:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher