若有以下定義
則不能將指針q所指的結(jié)點(diǎn)接到鏈表末尾的程序段是()。
A.q->next=NULL;p=p->next;p->next=q
B.p=p->next;q->next=p->next;p->next=q
C.p=p->next;q->next=p;p->next=q
D.p=(*p).next;(*q).next=(*p).next;(*p).next=q
下面程序的輸出結(jié)果是()。
A.123
B.012
C.013
D.230