Question The reason for using a header node to point to a linked list is Select one: a. Given a pointer p to a node in a list, you can insert a new node before (*p) but not after (*p). O b. It is impossible to have a pointer which is not part of a record O c. Given a pointer p to a node in a list, you can insert a new node after (*p) but not before (*p), and if the new node should go at the beginning that means it can be inserted after the header

EJK03O The Asker · Computer Science

Transcribed Image Text: The reason for using a header node to point to a linked list is Select one: a. Given a pointer p to a node in a list, you can insert a new node before (*p) but not after (*p). O b. It is impossible to have a pointer which is not part of a record O c. Given a pointer p to a node in a list, you can insert a new node after (*p) but not before (*p), and if the new node should go at the beginning that means it can be inserted after the header
More
Transcribed Image Text: The reason for using a header node to point to a linked list is Select one: a. Given a pointer p to a node in a list, you can insert a new node before (*p) but not after (*p). O b. It is impossible to have a pointer which is not part of a record O c. Given a pointer p to a node in a list, you can insert a new node after (*p) but not before (*p), and if the new node should go at the beginning that means it can be inserted after the header
Community Answer
4WN8GY

A header node in a linked list stores various information about the list. We can maintain count of nodes , addresses of first and last nodes. In this question C option is correct. Explainations : a) It says we cannot insert a node after the pointer and can insert before pointer. This statement is false because  : 1) we cannot add a node before the pointer 2) we can add a node after the pointer.   Headernodeinsertion of ... See the full answer