题目内容

假定建立了以下链表结构,指针p、q分别指向如图所示的结点,则以下可以将q所指结点从链表中删除并释放该结点的语句组是______。

A. free(q);p->next=q->next;
B. (*p).next=(*q).next;free(q);
C. q=(*q).next;(*p).next=q;free(q);
D. q=q->next;p->next=q;p=p->next;free(p);

查看答案
更多问题

【B15】

A. though
B. as
C. with the exception
D. as a result of

A.LCPB.LPBC.NCPD.NAP

A. LCP
B. LPB
C. NCP
D. NAP

件数()

A. 4
B. 1200
C. 8000
D. 1600

包装种类()

A. 纸箱
B. 箱
C. 铁皮箱
D. 集装箱

答案查题题库