A.int B.*int C.&int D.int*
A.p–>next=p2;p1–>next=p B.p1–>next=p;p–>next=p2 C.p=p2;p1–>next=p D.p1=p;p–>next=p2
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)