A.considered
B.regarded
C.treated
D.looked upon
第1题
有以下程序 #include<stdio.h> int fun(int x;int y) { if(x=y)reurn(x); else return((x+y)/2); } main() { int a=4,b=5,c=6; printf("%d\n",fun(2*a,fun(b,c))); } 程序运行后的输出结果是______。
A.3
B.6
C.8
D.12
第2题
有以下程序 #include<stdio.h> int fun(int x;int y) { if(x=y)reurn(x); else return((x+y)/2); } main() { int a=4,b=5,c=6; printf("%d\n",fun(2*a,fun(b,c))); } 程序运行后的输出结果是______。
A.3
B.6
C.8
D.12
第3题
有以下程序
#include<stdio.h>
int fun(int X,int y)
{if(x!=y) return((x+y)/2):
else return(x):
}
main() .
{int a=4'b=5,c=6:
printf(“%d\n”,fun(2*a,fun(b,c))):
}
程序运行后的输出结果是
A.3
B.6
C.8
D.12
第4题
有以下程序
#include<stdio.h>
int fun(int X,int y)
{if(x!=y) return((x+y)/2):
else return(x):
}
main() .
{int a=4'b=5,c=6:
printf(“%d\n”,fun(2*a,fun(b,c))):
}
程序运行后的输出结果是
A.3
B.6
C.8
D.12
第5题
有以下程序: #include <stdio.h> fun(int x,int y,int z) { z=x*y;} main() { int a=4,b=2,c=6; fun(a,b,c); printf("%d",c); } 程序运行后的输出结果是()。
A.16
B.6
C.8
D.12
第6题
有以下程序: #include<stdio.h> int fun(int X,int y) {if(X!=y)return((x+y)/2); else return(x); } main() {int a=4,b=5,c=6; printf("%d/n",fun(2*a,fun(b,c))); } 程序运行后的输入结果是()。
A.3
B.6
C.8
D.12
第7题
以下程序的运行结果为________。 #include <stdio.h> int x=2; int fun(int p) { static int x=3; x+=p; printf("%d ",x); return (x); } int main() { int y=3; printf("%d \n",fun(fun(x))); }
第8题
有以下程序
#include <stdio.h>
int fun(int x,int y)
{ if(x==y) return (x);
else return((x+y)/2);
}
main()
{ int a=4,b=5,c=6;
printf("%d\n",fun(2*a,fun(b,c)));
}
程序运行后的输出结果是
A)3
B)6
C)8
D)12
第9题
有以下程序: #include<stdio.h> int fun(int x,int y) {if(x==y)return(x); else return((x+y)/2); } main() {int a=1,b=2,c=3; printf("%d\n",fun(2*a,fun(b,C))); } 程序运行后的输出结果是()。
A.2
B.3
C.4
D.5
第10题
(33)有以下程序
#include <stdio.h>
int fun (int x,int y)
{ if (x!=y) return ((x+y);2);
else return (x);
}
main()
{ int a=4,b=5,c=6;
printf("%d\n",fun(2*a,fun(b,c)));
}
程序运行后的输出结果是
A)3
B)6
C)8
D)12
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!