What is the difference between operator new and the new
operator?

Answer Posted / guest

operator new is just like malloc and
new is the conventinal new in C++

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we implement inheritance in c++?

582


Why pointer is used in c++?

608


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

577


What are separators in c++?

620


What is unary operator? List out the different operators involved in the unary operator.

580






How can you specify a class in C++?

791


How do you remove an element from a set in c++?

578


What is the use of namespace std in C++?

610


What does asterisk mean in c++?

580


Why c++ is the best language?

590


What is capacity in vector in c++?

542


If I is an integer variable, which is faster ++i or i++?

586


What is the use of seekg in c++?

594


Describe the advantages of operator overloading?

569


What are static and dynamic type checking?

606