填空题
以下程序的输出结果是
【17】
。
void fun()
static int a=0;
a+=2; printf("%d",a);
main()
int cc;
for(cc=1;cc<4;cc++)fun();
printf(""\n");
【参考答案】
246
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
若输入字符串:(图片),则以下while循环体将执行 【12】 次。 while((ch=getchar())==’e’)printf( * );
点击查看答案&解析
填空题
函数pi的功能是根据以下公式近似求得的: pi*pi 6=1+1 (2*2)+1 (3.3)+...+1 (n*n) 请在下面的函数中天空,完成求pi的功能。 #include<math.h> double pi(long n) double s=0.0,long i; for(i=1;i<<=n;i++)s=s+ 【11】 ; return(sqrt(6*s));
点击查看答案&解析
相关试题
有以下程序: int f(int n) if(n=...