若以下定义: struct link {int data;struct lin
问题:
若以下定义: struct link {int data;struct link *next; }a,b,C,*p,*q; 且变量a和b之间已有下图所示的链表结构。
指针p指向变量a,q指向变量c,则能够把c插入到a和b之间并形成新的链表的语句组是( )。
A.next=c;next=b;
B.next=q;next=next;
C.q->next=p->next;p->next=&c;
D.(*.next=c;(*.next=b;