What is the difference between operator new and the new
operator?
Answers were Sorted based on User's Feedback
Answer / vrushali
Operator new is a function name used for operator overloading and new operator is used for allocating memory
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / guest
operator new is just like malloc and
new is the conventinal new in C++
Is This Answer Correct ? | 3 Yes | 4 No |
Answer / man
operator new is nothing
And new operator is used to allocate memory on the heap
Is This Answer Correct ? | 0 Yes | 6 No |
What is the difference between method overloading and method overriding in c++?
Show the declaration for a static member variable.
What is new in c++?
What are the strengths of C++?
What does obj stand for?
How would you represent an error detected during constructor of an object?
How to demonstrate the use of a variable?
What do you understand by a pure virtual member function?
What is the use of register keyword with the variables?
What is bubble sort c++?
Is it possible for a member function to use delete this?
What is a manipulator in c++?