Science, asked by Sanjanasingh4774, 1 year ago

Explain memory management operator in c++

Answers

Answered by harsh509
0
I have not idea for discussion
Answered by kmshah13121943
0

Answer:

new and delete operator

New operator is used to create object of any type .

syntax :pointer variable = new data type ;

Delete operator :

when data object is no longer needed it is destroyed to release the memory space for reuse in c++ for performing this task delete operator is used.

syntax:

delete pointer variable ;

Similar questions