In the initialintroduction to new and delete, we were told that delete keyword will only delete the pointer and not the data at that address,but now it appears to be deeleting the data and freeing up memory…
If you could please tell me what I’m missing, because I’m a bit confused regarding the delete keyword now.
Thanks in advance!