+1 vote
in Data Structures & Algorithms I by (110k points)
In linked list each node contains a minimum of two fields. One field is data field to store the data second field is?

(a) Pointer to character

(b) Pointer to integer

(c) Pointer to node

(d) Node

Question is from Singly Linked List Operations in portion Abstract Data Types of Data Structures & Algorithms I

This question was posed to me in class test.

1 Answer

+1 vote
by (412k points)
selected by
Best answer
Right option is (c) Pointer to node

The best I can explain: Each node in a linked list contains data and a pointer (reference) to the next node. Second field contains pointer to node.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.