A.4 B.8 C.12 D.9
A.30 B.28 C.40 D.33
A.rear->next=p;rear=p; B.rear->next=p;p=rear; C.p=rear->next;rear=p; D.rear=p;rear->next=p;