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
What is pair in c++?
Is there any function that can skip certain number of characters present in the input stream?
What you know about structures in C++?
Which is not a valid keyword a) public b) protected c) guarded
Explain the difference between static and dynamic binding of functions?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
Will this c++ program execute or not?
Define anonymous class.
When one must use recursion function? Mention what happens when recursion functions are declared inline?
What is the difference between interpreters and compilers?
Explain friend class?
daily Routine of father
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
Why do we need runtime polymorphism in c++?
Explain operator overloading.