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 a v-table?
Can I create my own functions in c++?
Write a program to get the value of sin (x) using a library function , when x is given in degrees.
What is const pointer and const reference?
Define basic type of variable used for a different condition in C++?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Evaulate: 22%5 a) 2 b) 4 c) 0
Write a C++ program to sort digits of all the 4 digit number and display the sorted 4 digit number
in C++ , the word plus plus who found this?
What is c++ best used for?
Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?
Should the member functions which are made public in the base class be hidden?