What is the difference between new/delete and malloc/free?
Answer / neelam saini
Malloc/free do not know about constructors and destructors. New and delete create and destroy objects, while malloc and free allocate and deallocate memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is binary search in c++?
What are built-in functions? What is the syntax for the definition?
What is wrapper class in c++?
Which algorithm do you like the most? Why?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
To which numbering system can the binary number 1101100100111100 be easily converted to?
What is an inline function in c++?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
Can member functions be private?
Types of storage and scope of each type
When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?
What new()is different from malloc()?