What is a “new” keyword in C++?
Answer:
In C++, “new” is an operator. It allocates memory for an object or array of objects of type-name from the free store and returns a suitably typed, nonzero pointer to the object.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Answer:
In C++, “new” is an operator. It allocates memory for an object or array of objects of type-name from the free store and returns a suitably typed, nonzero pointer to the object.
need an explanation for this answer? contact us directly to get an explanation for this answer