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
Is c++ a pure oop language?
What is a responder chain?
Is c++ high level programming language?
what is oops and list its features in c++?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
How to declaring variables in c++?
Are there any special rules about inlining?
Is eclipse good for c++?
What are virtual functions in c++?
Explain one method to process an entire string as one unit?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
Explain container class.
Why do we need function?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
Differentiate between C and C++.