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

how to swap two strings without using any third variable ?

11 Answers  


Define friend function.

0 Answers  


Why is c++ so fast?

0 Answers  


How do you declare A pointer to function which receives an int pointer and returns a float pointer

0 Answers  


I need to find a specific string between two strings how do I do it?

1 Answers   Infosys,






List the types of polymorphism in c++?

0 Answers  


What are the benefits of pointers?

0 Answers  


What is the cout in c++?

0 Answers  


Can notepad ++ run c++?

0 Answers  


Write a note about the virtual member function?

0 Answers  


What is the difference between reference and pointer?

0 Answers  


What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

0 Answers  


Categories