

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