第三届国际心理卫生大会认定的心理健康的标志包括()。
A.适应环境
B.有幸福感
C.追求第一
D.受到赞扬
A.适应环境
B.有幸福感
C.追求第一
D.受到赞扬
第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> 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
第3题
A.10,1
B.20,1
C.10,2
D.20,2
第4题
A.10,3
B.20,3
C.10,20
D.20,2
第5题
以下程序的输出结果: #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’; }
第6题
A.*pt->y
B.pt->x
C.++pt->x
D.(pt++)->x
第7题
下列程序的输出结果是()。 #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
第8题
下列程序的输出结果是()。
#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
第9题
下列程序的输出结果是()。#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
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!