Multiple Choice
Which of the following statements is used to insert a new node,referenced by newNode,at the end of a linear linked list?
A) newNode.setNext(curr) ;
Prev.setNext(newNode) ;
B) newNode.setNext(head) ;
Head = newNode;
C) prev.setNext(newNode) ;
D) prev.setNext(curr) ;
NewNode.setNext(curr) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: A linked list contains components,called _,which are
Q2: What does a traversal operation do?
Q4: When a linked list is empty,the value
Q5: Which of the following is NOT true
Q6: A reference variable declared as a data
Q7: What does a node of a linear
Q8: A local reference variable has a default
Q9: What is a head record?
Q10: Write the code segment which is used
Q11: Why is a loop necessary to find