[Solved] How does implicit free lists(garbage collection) works in adding memory to free list ?

How does implicit free lists(garbage collection) works in adding memory to free list ?

a) whichever comes last will be added to free list
b) whichever comes first will be added to free list
c) certain blocks cannot be used if there are no pointers to them and hence they can be freed
d) makes a probabilistic guess

Answer: c
Explanation: When no pointers pointing a block that means it is useless to be in memory.

Comments