head = tempPtr;
The diagram is the same as in (1), except the arrow pointing from “head” to the center two-tiered box (15) is broken and a new arrow, labeled Changed, points from “head” to the top two-tiered box (12).
After function call
The diagram is the same as in (3), except the broken arrow from the “head” box and the “tempPtr” box and arrow have been removed.