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

Answer Posted / man

operator new is nothing
And new operator is used to allocate memory on the heap

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

781


How are the features of c++ different from c?

575


Do we have to use initialization list in spite of the assignment in constructors?

550


What is while loops?

607


How is modularity introduced in C++?

753






What is the latest c++ standard?

663


Explain rtti.

579


What is a rooted hierarchy?

669


What gives the current position of the put pointer?

548


Mention the ways in which parameterized can be invoked.

528


Why do we use classes in programming?

565


How we can differentiate between a pre and post increment operators during overloading?

583


What is an adaptor class or wrapper class in c++?

591


What is a manipulator in c++?

702


How would you find out if a linked-list is a cycle or not?

533