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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a constructor return a value?

875


Does c++ have a hash table?

730


What are literals in C++?

780


What is setiosflags c++?

708


What is vector pair in c++?

937


What is c++ library?

793


What is the use of ::(scope resolution operator)?

835


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

751


Do class method definitions?

777


What is class and structure in c++?

764


Explain friend class?

870


Should a constructor be public or private?

749


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

1719


How are pointers type-cast?

862


When do we run a shell in the unix system?

809