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 a program which uses functions like strcmp(), strcpy()? etc
Ask to write virtual base class code?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What is a hash function c++?
What methods can be overridden in java?
What happens when you make call 'delete this;'?
Which ide is best for c++?
What is a pointer how and when is it used?
What do you mean by C++ access specifiers ?
What is binary object model?
State the difference between pre and post increment/decrement operations.
What are the basic data types used in c++?