有以下结构体说明和变量的定义,且如下图所示指针p指向变量a,指针q指向变量b。则不能把结点 b连接到结点a之后的语句是( ) struct node { char data; struct noe *next; }a,b, *p=

admin2009-02-15  25

问题 有以下结构体说明和变量的定义,且如下图所示指针p指向变量a,指针q指向变量b。则不能把结点 b连接到结点a之后的语句是(    )  struct node  {  char data;     struct noe  *next;  }a,b,  *p=&a,  *q=&b;

选项 A、a,next=q;
B、p.next=&b;
C、p->next=&b;
D、(*p).next=q;

答案2

解析
转载请注明原文地址:https://kaotiyun.com/show/iXXp777K
0

最新回复(0)