How to protect the heap from affecting the memory?
(a) Avoid using pointers for associating two data structures
(b) Embed pointed child objects into the parent object
(c) Allocate objects in chunks
(d) All of the mentioned
This question was posed to me in homework.
Question is from Heaps in chapter Algorithms, Objects & Iterators in C++ of C++