填空题
以下程序运行后的输出结果是______。 #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);}
点击查看答案&解析
填空题
以下程序运行时从键盘输入:How are you <回车>,则输出结果为______。#include<stdio.h>main(){ char a[20]= How are you ,b[20];scanf( %s , b); printf( %s %s n , a, b);}
点击查看答案&解析
相关试题
软件设计中划分模块的一个准则是
数据库管理系统是
以下程序运行后的输出结果是 #include v...
有以下定义语句,编译时会出现编译错误的是
设有定义:char *c;,以下选项中能够使...