Multiple Choice
Consider the following code which deletes all the nodes in a linked list. Which of the following is the missing statement?
A) delete first;
B) delete temp;
C) destroy temp;
D) clear temp;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: In a linked list, if a new
Q5: When you build a linked list in
Q14: Because each node of a linked list
Q17: How many pointers are needed to build
Q19: Each node of a singly linked list
Q23: Every node (except of the last node)
Q25: We deallocate the memory for a linked
Q29: Linked lists allow you to overcome the
Q32: In a linked list, the address of
Q33: Which of the following statements appears in