MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In Singly Linked List Left part of the node which contains ____ may include a simple data type, an array or a structure.
A
data
B
node
C
address
D
none of above
Explanation: 

Detailed explanation-1: -Each SLL is made up of two parts: a head and a tail. The head of each SLL contains a pointer to the first element in the list, and the tail contains a pointer to the last element.

Detailed explanation-2: -What is a singly linked list? A Singly Linked List is a specialized case of a generic linked list. In a singly linked list, each node links to only the next node in the sequence, i.e if we start traversing from the first node of the list, we can only move in one direction(pun intended).

Detailed explanation-3: -Types of Linked List-Singly linked, doubly linked and circular.

There is 1 question to complete.