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

Can we use resume in error handling i.e. in the catch block

5 Answers   Infosys,


What's the hardest coding language?

0 Answers  


How to stop conversions among objects?

5 Answers   Symphony,


What happens when a function throws an exception that was not specified by an exception specification for this function?

1 Answers  


What is the difference between multiple and multilevel inheritance in c++?

0 Answers  






What's the order in which the local objects are destructed?

0 Answers  


Why cout is used in c++?

0 Answers  


Does there exist any other function which can be used to convert an integer or a float to a string?

0 Answers  


what are the iterator and generic algorithms.

0 Answers  


How do you print for example the integers 3,2,1,5,4 in a binary tree within the console in format where it looks like an actual binary tree?

0 Answers  


How do I start a c++ project?

0 Answers  


What are the implicit member functions of class?

0 Answers  


Categories