单项选择题
有以下结构体说明和变量的定义,且指针p指向变量a,指针q指向变量b。则不能把结点b连接到结点a之后的语句是 struct node {char data; struct node * next; } a,b,*p=&a,*q=&b;
A.next=q;
B.next=&b;
C.p->next=&b;
D.(*.next=q;
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
表示在输出时显示小数位,和在文件输入时判断文件尾的函数分别是
A.showbase()和eof()
B.showpoint()和eof()
C.showpoint()和bad()
D.showpoint()和good()
点击查看答案&解析
单项选择题
以下程序的输出结果是 #include<iostream.h> void main() { int x=1,y=3; cout << x++ << , ; { int x=0;X+=y*2; cout<<x<< , <<y<< ; ; } cout<<x<< , <<y; }
A.1,6,3,1,3
B.1,6,3,6,3
C.1,6,3,2,3
D.1,7,3,2,3
点击查看答案&解析
相关试题
D
D
以下程序的输出结果是 #include<iostrea...
下面程序的结果为 #include<iostream.h...
C++语言中,表示一条语句结束的标号是