is there some funtionality like delete in C? I am working with auxiliar arrays that once I use them i would like to free the memory allocated to them. Is there any way of doing this?
Thank you,
is there some funtionality like delete in C? I am working with auxiliar arrays that once I use them i would like to free the memory allocated to them. Is there any way of doing this?
Thank you,
I think you can just scope (put the operations between {}
symbols) the corresponding code, and the variables defined within {}
will be discarded.
That should work, thank you.