state the use of new operator
Answers
Answered by
3
Answer:
Use of the new operator signifies a request for the memory allocation on the heap. If the sufficient memory is available, it initializes the memory and returns its address to the pointer variable. The new operator should only be used if the data object should remain in memory until delete is called.
Explanation:
I hope it is helpful plz marks me as brainlieast and give me thanks at all my answers and follow me
Answered by
1
Explanation:
use of new operator significes a request for the memory allocation on the heap . if the sufficient memory is available it, initializes the memory and returns its address to the pointer variable . the new operator should only be used if the data object should remain in memory until delete is called.
Similar questions