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 most useful programming language?

0 Answers  


Explain the difference between c & c++?

0 Answers  


What information can an exception contain?

0 Answers  


What is the difference between public and private data members?

0 Answers  


which is best institue to learn C/C++ IN AMEERPET OR MAITHRIVANAM OR SR NAGAR, PLEASE HELP. THANKS IN ADVANCE

5 Answers  






Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].

0 Answers  


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

0 Answers  


What is the Difference between "printf" and "sprintf"?

7 Answers   iSoft, PentaWare, TCS,


Is rust better than c++?

0 Answers  


What are the vectors in c++?

0 Answers  


Differentiate between an inspector and a mutator ?

0 Answers  


What return value must conversion operators have in their declaration?

0 Answers  


Categories