Computer Science, asked by delnabenny2, 9 months ago

what is the use of 'new'operator​

Answers

Answered by sukhadevedhanraj
0

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:

PLEASE MARK AS BRANILIEST KARDENA BRO PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE

Answered by sneha413639
1

Answer:

YOUR ANSWER IS IN THE ATTACHMENT.

Attachments:
Similar questions