填空题
以下程序运行后的输出结果是______。
fun(int a)
int b=0; static int c=3;
b++;c++;
return(a+b+c);main()
int i,a=5;
for(i=0;i<3;i++)printf("%d %d ",i,fun(a));
printf("\n");
【参考答案】
0 10 1 11 2 12
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是______。#include void fun(char *s,int p,int k) int i; for(i=p;i<K-1;i++)&NBSP;S[I]=S[I+2]; main() char s[]= abcdefg ; fun(s,3,strlen(s)); puts(s);
点击查看答案
填空题
已有定义:double *p;,请写出完整的语句,利用malloc函数使p指向一个双精度型的动态存储单元______。
点击查看答案
相关试题
设有定义:FILE *fw;,请将以下打开文件...
以下程序中,fun函数的功能是求3行4列二...