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 |
Can we use resume in error handling i.e. in the catch block
What's the hardest coding language?
How to stop conversions among objects?
What happens when a function throws an exception that was not specified by an exception specification for this function?
What is the difference between multiple and multilevel inheritance in c++?
What's the order in which the local objects are destructed?
Why cout is used in c++?
Does there exist any other function which can be used to convert an integer or a float to a string?
what are the iterator and generic algorithms.
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?
How do I start a c++ project?
What are the implicit member functions of class?