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 ?    7 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 5 No



Post New Answer



More C++ General Interview Questions

Write a function which takes a character array as input and reverses it in place.

2 Answers   Lehman Brothers, Vision Infotech,


Implement a 2 dimensional array by one dimentional array

1 Answers   CTS,


program explaining feautures of c++

0 Answers   Satyam,


How can you find the nodes with repetetive data in a linked list?

1 Answers   Lucent,


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

0 Answers  






Generally variables are stored in heap memory. When he variables are created in stack?

4 Answers   Persistent,


what is difference between static and non-static variables

10 Answers  


write infinite loop in C++ which does not use any variable or constant?

3 Answers  


what are the events occur in intr activated on interrupt vector table

0 Answers   HGS,


sizeof - is it a function or operator?

6 Answers   Honeywell,


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

0 Answers  


Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.

0 Answers   An-Najah National University,






Categories