So I started the linked list tutorial here and decided to put my understanding to a test. The objective: write code that could go through a list, delete all the pointers, and reclaim the memory.
I did it (I hope), but that spawned another question -- is deleting pointers in that way worthwhile? Are there safeguards in place to prevent memory leaks or whatever consequences would arise if the pointers weren't individually deleted during the program's runtime?
Thanks a lot