

MCQOPTIONS
Saved Bookmarks
1. |
Presence of loop in a linked list can be tested by ________. |
A. | Comparing the address of nodes by address of every other node |
B. | Comparing the the value stored in a node by a value in every other node |
C. | Traveling the list, if NULL is encountered no loop exists |
D. | All of above |
E. | None of these |
Answer» B. Comparing the the value stored in a node by a value in every other node | |