单项选择题
有以下结构体说明和变量定义,如图所示, 指针p、q、r分别指向此链表中的三个连续结点。 Struct node int data; struct node *next;*p,*q,*r; 现要将q所指结点从链表中删除,同时要保持链表的连续, 以下不能完成指定操作的语句是()。
A. p->next=q->next; B. p->next=p->next->next; C. p->next=r; D. p=q->next;
A. struct ordint x; int y; int z;; struct ord a; B. struct ordint x; int y; int z; struct ord a; C. struct ordint x; int y; int z; a; D. structint x; int y; int z; a;
A. t1=t2; B. t2.num1=t1.num1; C. t2.mark=t1.mark; D. t2.num2=t1.num2;