A.p1=p2;free(p2) B.p1–>next=p2–>next;free(p2) C.p1.next=p2.next;free(p2) D.p1=p2–>next;free(p2)
A.1,2 B.2,1 C.1,3 D.3,1
A.x.next=p B.x.next=q C.y.next=p D.y.next=q