有以下结构体说明和变量的定义,且指针P指向变量a,指针q指向变量b。则不能把结点b连接到结点a之后的语句是()。

structnode {chardata; structnode*next; }a,b,*p=&a,*q=&b; A.a.next=q; B.P.next=&b; C.p->next=&b; D.(*p).next=q;

时间:2023-08-24 14:09:41

相似题目