In a singly linked list, each node contains:

2024

In a singly linked list, each node contains:

Answer: A. Data and an address field with the address of the next nodeEach node in a singly linked list contains the data and an address field, which points to the next node in the sequence.

  1. A.

    Data and an address field with the address of the next node

  2. B.

    Data and two address fields with the addresses of the previous and next nodes

  3. C.

    Only data

  4. D.

    Only address field with the address of the next node

Attempted by 681 students.

Show answer & explanation

Correct answer: A

Each node in a singly linked list contains the data and an address field, which points to the next node in the sequence.

Explore the full course: Coding For Placement

Loading lesson…