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

©TutorsGlobe All rights reserved 2022-2023.