单项选择题
下列程序的输出结果为( )。
main()
union u
char *name;
int age;
int income;)s;
s.name="WANGLIONG";
s.age=28;
s.income=1000;
printf("%d\n",s.age);
A.28
B.1000
C.0
D.不确定
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
设有关系R和S,关系代数表达式为R-(R-S)表示的是( )。
A.R∩S
B.R-S
C.R∪S
D.R+S
点击查看答案&解析
单项选择题
有以下程序: main() int i; for(i=1;i<=40;i++) if(i++%5==0) if(++i%8==0)printf( %d ,i); printf( n ); 执行后的输出结果是( )。
A.5
B.24
C.32
D.40
点击查看答案&解析
相关试题
有以下程序: #include<stdio.h> mai...
下列程序的运行结果为( )。 #include...
有以下程序: #include<stdio.h> mai...
有以下程序: #include<stdio.h> mai...
有以下程序: #include<stdio.h> mai...