What is the new operator?
A. Allocates memory for an object or array
B. Allocates memory for an object or array and returns a particular pointer
C. Used as return type when an object is created
D. Used to declare any new thing in a program
Answer:B
What is the new operator?
A. Allocates memory for an object or array B. Allocates memory for an object or array and returns a particular pointer C. Used as return type when an object is created D. Used to declare any new thing in a program