Benefits of new operator over malloc ()

Specify some of the benefits of new operator over the malloc ().

E

Expert

Verified

a) With its help we can easily compute the size of data object.

b) It is possible to initialize the objects while forming the memory space.

c) It automatically returns correct pointer type.

d) It can easily be overloaded.

   Related Questions in C/C++ Programming

2015 ┬ęTutorsGlobe All rights reserved. TutorsGlobe Rated 4.8/5 based on 34139 reviews.