Question: suppose you have a linked list with a firstnode reference that points to the first node of the list, and the list has 3 nodes

suppose you have a linked list with a "firstnode" reference that points to the first node of the list, and the list has 3 nodes with data objects: "a", "b","c"; then what the following code will do? firstnode= firstnode.next next next Select one: A. clear the list O B. error code O C. remove second element D. remove first element
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
