Sail E0 Webinar
Question
How does implicit free lists(garbage collection) works in adding memory to free list ?
Options:
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: Option C


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers