Vidyalelo
Data Structure · Q86

Linked Lists in Data Structures

Programming · Data Structure · question 86

Q86

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
Answer
D.
makes a probabilistic guess

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board