What is the use of "new" operator?
Answer / Shilpi Tyagi
The 'new' operator in C++ is used for dynamic memory allocation. It dynamically allocates memory at runtime and returns a pointer to the allocated memory. The size of the memory to be allocated can be specified using the type of variable being created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a program to interchange 2 variables without using the third one.
I need to find a specific string between two strings how do I do it?
In C++ cout is: a) object b) class c) something else
11 Answers Infosys, Lehman Brothers,
What is a dll entry point?
What is the use of endl in c++?
Write a program to find the reverse Fibonacci series starting from N.
What is slicing?
Does c++ support multilevel and multiple inheritances?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What is implicit conversion/coercion in c++?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What do you mean by late binding?