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 |
How are virtual functions implemented in c++?
What is the use of object in c++?
How does java differ from c and c++?
We use library functions in the program, in what form they are provided to the program?
Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.
0 Answers An-Najah National University,
How do you write a function that can reverse a linked-list?
Are strings immutable in c++?
Describe the advantage of an external iterator.
What is constructor in C++?
What are the uses of pointers?
How do you initialize a string in c++?
Can you Mention some Application of C/C++?