What is the difference between operator new and the new
operator?

Answers were Sorted based on User's Feedback



What is the difference between operator new and the new operator?..

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

What is the difference between operator new and the new operator?..

Answer / guest

operator new is just like malloc and
new is the conventinal new in C++

Is This Answer Correct ?    3 Yes 4 No

What is the difference between operator new and the new operator?..

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

Post New Answer

More C++ General Interview Questions

What is the difference between method overloading and method overriding in c++?

0 Answers  


Show the declaration for a static member variable.

0 Answers  


What is new in c++?

0 Answers  


What are the strengths of C++?

1 Answers  


What does obj stand for?

0 Answers  


How would you represent an error detected during constructor of an object?

1 Answers  


How to demonstrate the use of a variable?

0 Answers  


What do you understand by a pure virtual member function?

0 Answers  


What is the use of register keyword with the variables?

0 Answers  


What is bubble sort c++?

0 Answers  


Is it possible for a member function to use delete this?

0 Answers  


What is a manipulator in c++?

0 Answers  


Categories