问答题

【参考答案】

(NODE *)malloc(sizeof(NODE));p->next=q->next;q->next=p