Which of the following statements deletes the first node of a linear linked list that has 10 nodes?

a. head->next = cur->next;
b. prev->next = cur->next;
c. head = head->next;
d. head = NULL;

c. head = head->next;

Computer Science & Information Technology

You might also like to view...

The standard that utilizes text to define the structure of data

a. HTTP b. XML c. XLS

Computer Science & Information Technology

The outline shape in which a comment displays is referred to as a balloon

Indicate whether the statement is true or false

Computer Science & Information Technology