What is the difference between operator new and the new
operator?
Answers were Sorted based on User's Feedback
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 |
Answer / guest
operator new is just like malloc and
new is the conventinal new in C++
| Is This Answer Correct ? | 3 Yes | 4 No |
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 |
What about Virtual Destructor?
How are the features of c++ different from c?
what is data Abstraction
Why is "using namespace std;" considered bad practice?
How do you establish a has-a relationship?
Is java the same as c++?
Can you explain the term "resource acquisition is initialization?"
What is flush programming?
What is the use of ::(scope resolution operator)?
What is the prototype of printf function?
Differentiate between late binding and early binding. What are the advantages of early binding?
Is multimap sorted c++?