0
What is memory management operator?
PLEASE!!! Explain this in a very basic language and also it's type .
1 Odpowiedź
+ 2
new and delete are memory management operators.
Used to allocate memory and deallocate memory on the heap.
For example if you want to create an array but you don't know how big it's going to be at first. You use new to create the space as you need it. Delete is used to free the space taken by the array when you are done with it.