填空题
下列程序输出的结果是______。
int m=17;
int fun(int x,int y)
int m=3;
return(x*y-m);
main()
int a=5,b=7;
printf("%d\n",fun(a,b)/m);
【参考答案】
A
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
下列程序的功能:对输入的一行字符中的数字字符的字面值累加,输出此累加和,请填空。 #include<stdio.h> #include<ctype.h> main() char c; int a,s=0; while(______) if(isdigit(c)) a=c-’0’;s+=a; printf( s=%d ,s);
点击查看答案&解析
填空题
下列程序段的输出结果是______。 int n=’c’; switch(n++) default:printf( error );break; case’a’:printf( good );break; case’C’:printf( morning ); case’d’:printf( class );
点击查看答案&解析
相关试题
下列程序的输出结果是______。 #de...
写出下列程序的输出结果______。 ma...
设有下列的程序段: char str[]= Hel...
设有下列程序: #include<stdio.h> ...
若有定义int a[4][4]=1,2,3,...