A.支原体肺炎合并心力衰竭
B.腺病毒肺炎合并中毒性肝炎
C.毛细支气管炎合并心力衰竭
D.支气管肺炎合并心力衰竭
E.支气管肺炎合并呼吸衰竭
第1题
下列程序段的输出结果是_______。 #include <stdio.h> void fun(int *px, int *py) { printf("%d %d\n", *px, *py); *px=3;*py=4; } int main() { int x=1,y=2; fun(&x,&y); printf("%d %d\n",x, y); }
第2题
现有如下程序段
#include "stdio.h"
int *fun(int *a,int *b)
{int c;
c=*a%*b;
return &c;}
main()
{int a=5,b=19,*c;
c=fun(&a,&b);
printf("%d\n",++*c);}
则程序段执行后的结果为
A.8
B.7
C.6
D.5
第3题
有以下程序: #include<stdio.h> #include<stdlio.h> void fun(int*pl,int*p2,int*s) { s=(int*)malloc(sizeof(int)); *s=*pl+*p2; free(s); } main() { int a=1,b=40,*q=&a; fun(&a,&b,q); printf("%d\n",*q); } 程序运行后的输出结果是()。
A.42
B.0
C.1
D.41
第4题
有以下程序
#include <stdio.h>
int a= 5;
void fun(int b)
{ int a= 10;
a+=b; printf("%d",a);
}
main()
{ int c=20;
fun(c);a+=c;printf("%d\n",a);
}
程序运行后的输出结果是 【 1 1 】 。
第5题
现有如下程序段,则程序段的输出结果为 【16】 。
#include "stdio.h"
int fun()
{static int k;
return k;}
main()
{int m;
m=fun();
printf("%d\n",m);}
第6题
下面程序的运行结果是#include "stdio.h" void fun(int k,int *p) { int a,b; if(k==1|| k==2) *p=1; else { fun(k-1,&a); fun(k-2,&b); *p=a+b; } }main(){ int x; fun(6,&x); printf("%d\n",x);}
第7题
有以下程序
include<stdio.h>
int a=5;
void fun(intB)
{int a=10;
a+=b;pfinff(“%d”,A);
}
main()
{int e=20;
fun(C);a+=e;printf(“%d\n”,A);
}
程序运行后的输出结果是【 】。
第8题
有以下程序
include<stdio.h>
void fun(int p)
{int d=2;
p=d++;printf("%d".p);}
main()
{int a=1;
fun(a):printf("%d\n",a);)
程序运行后的输出结果是()。
A.32
B.12
C.21
D.22
第9题
有以下程序
#include<stdio.h>
void fun(int P)
{int d=2;
P=d++;printf(“%d”,P);}
main()
{int a=1;
fun(A);prinff(“%.d\n”,A);}
程序运行后的输出结果是
A.32
B.12
C.21
D.22
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!