填空题
下列程序的输出结果是______。
long fun5(int n)
( long s;
if((n==l)‖(n==2))
s=2;
else
s=n+fun5(n-1);
return(s);
main()
long x;
x=fun5(4);
printf(%1d\n",x);
【参考答案】
I
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
fseek函数的正确调用形式是 。
点击查看答案&解析
填空题
有以下程序(说明:字符0的ASCII码值为48) #include<stdio.h> main() char C1, C2; scanf( %d , &c1); c2=c1+9; printf( %c%c n , c1, c2); 若程序运行时从键盘输入48<回车>,则输出结果为______。
点击查看答案&解析
相关试题
以下程序的功能是计算:s=1+12+12...
有以下程序 #include <stdio.h> fun...
以下程序运行后的输出结果是______。...