Home » C Programming » Structures » Question
  1. Presence of loop in a linked list can be tested by ________.
    1. Comparing the address of nodes by address of every other node
    2. Comparing the the value stored in a node by a value in every other node
    3. Traveling the list, if NULL is encountered no loop exists
    4. All of above
    5. None of these
Correct Option: A

Comparing the address of nodes by address of every other node



Your comments will be displayed only after manual approval.