有以下结构体说明和变量定义,如图所示:struet node{int data;struct node*next;}*p,*q,*r;现要将

有以下结构体说明和变量定义,如图所示: struet node {int data; struct node*next;}*p,*q,*r; <img src='https://img2.soutiyun.com/shangxueba/ask/3357001-3360000/3357763/ct_ctcbm_ctcbchoose_05356(20093).jpg' /> 现要将q所指结点从链表中删除,同时要保持链表的连续,以下不能完成指定操作的语句是 A.p->next=q->next; B.p->next=p->next->next; C.p->next=r; D.p=q->next;

时间:2023-02-01 15:23:25

相似题目