|
|
|
|
|
while (currPtr->link->component != item)
delPtr = currPtr->link;
currPtr->link = currPtr->link->link; |
|
|
|
|  |
|
|
|
|
Because 90 is equal to 90, the loop is exited. |
|
|
|
 |
|
|
|
|
The link member of the node whose component is 90 is copied into the link member of the node whose component is 50. The link member equals NULL in this case. |
|
|
|
|