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 |
Write my own zero-argument manipulator that should work same as hex?
Is linux written in c or c++?
Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.
how to connect with oracle 9i with server in socket program in c/c++
What is the difference between object-oriented programming and procedural programming?
What data encapsulation is in c++?
Explain the static member function.
Can a program run without main in c++?
Explain shallow copy?
What gives the current position of the put pointer?
What is DlgProc?
There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.