Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 1(x)

1 mark

Computer ScienceISC 2023 Computer Science Paper 1Short answerData structures

Answer the following.

What is the importance of the reference part in a Linked List?

Open in the Linked list visualiser

Answer

Answer

The reference (link) part of a node stores the address of the next node in the list. It connects the nodes together, so the list can be traversed from the first node to the last; the last node's reference is null, marking the end of the list.