Many unexpected problems have been arisen in the course of the reconstruction of the city.
A.Many
B.have been
C.course
D.of the city
A.Many
B.have been
C.course
D.of the city
第1题
以下程序的输出结果是()。 #include<stdio.h> struct st { int x; int *y;} *p; int dt[4] ={ 10,20,30,40 }; struct st aa[4]={ 50,&dt[0],60,&dt[0],60,&dt[0],60,&dt[0]}; main() { p=aa; printf("%d\n",++(p->x)); }
A.10
B.11
C.51
D.60
第2题
下列程序的输出结果是()。 #include<stdio.h> main { struct st { int y,x,z; }; union { long i; int j; char k; }un; printf("%d,%d\n",sizeof(struct st),sizeof(un)) }
A.6,2
B.6,4
C.8,4
D.8,6
第3题
下列程序的输出结果是()。
#include<stdio.h>
main
{ struct st
{ int y,x,z;
};
union
{ long i;
int j;
char k;
}un;
printf("%d,%d\n",sizeof(struct st),sizeof(un))
}
A.6,2
B.6,4
C.8,4
D.8,6
第4题
下列程序的输出结果是()。 #include "stdio.h" main() { struct st { int y,x,z;}; union {long i;int j; char k;} un; printf("%d,%d\n",sizeo(struct st),sizeof(un)); }
A.6,2
B.6,4
C.8,4
D.8,6
第5题
下列程序的输出结果是()。#include<stdio.h>main(){ struct st { int y, x,z; }; union { long i; int j; char k; }un; printf("%d,%d\n",sizeof(struct st),sizeof(un));}
A.6,2
B.6,4
C.8,4
D.8,6
第6题
A.10
B.11
C.51
D.60
第7题
A.10
B.11
C.51
D.60
第8题
A.6,2
B.6,4
C.8,4
D.8,6
第9题
以下程序的输出结果: #include <stdio.h> struct stru1 { int x; char y; }; void fun1(struct stru1 s1); void main() { struct stru1 s={5,’a’}; fun1(s); printf("%d,%c\n",s.x,s.y); } void fun1(struct stru1 s1) { s1.x=10; s1.y=’b’; }
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!