填空题
以下程序运行后的输出结果是______。
#include<stdio.h>
fun(int x)
if(x/2>0) fun(x/2);
printf("%d", x);
main()
fun(6); printf("\n");
【参考答案】
1 3 6
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是______。 #include<stdio.h> typedef struct int num; double s; REC; void fun1(REC x)x.num=23; x.s=88.5; main() REC a=16, 90.0; fun1(a); printf( %d n , a.num);
点击查看答案&解析
填空题
以下程序运行后的输出结果是______。 #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);
点击查看答案&解析
相关试题
下列函数的功能是 fun(char *a, char...
阅读以下程序 #include<stdio.h> mai...
以下程序运行后的输出结果是______。...
下列数据结构中,能够按照“先进后出”原则...
以下程序段的输出结果是 int r=8; pr...