Use of new operator

What is the use of new operator?

E

Expert

Verified

The use of new operator is to produce the object of the class. When object of the class is instantiated, the system assigns memory for each data member which is there in the class.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.