有以下程序:
#include <stdio.h>
int fun( )
static int x=1,
x*=2:
return x:

main( )
int i,s=1;
for(i=1;i<=3;i++) s*=fun( );
printf("%d/n",s);

程序运行后输出的结果是( )。

题库:计算机等级考试 类型:最佳选择题 时间:2017-07-03 14:23:55 免费下载:《单项选择》Word试卷

有以下程序:
#include <stdio.h>
int fun( )
static int x=1,
x*=2:
return x:

main( )
int i,s=1;
for(i=1;i<=3;i++) s*=fun( );
printf("%d/n",s);

程序运行后输出的结果是( )。
B.10
C.30
D.64

有以下程序:  #include <stdio.h>  int fun( )  static int x=1,  x*=2:  return x:    mai

本题关键词:程序,有序镜检,大腿以下或膝以下肌肉瘫痪,肛I,工程施工程序,复苏程序,工作程序,建设程序,程序变更,程序冲突;

微信扫码获取答案解析
下载APP查看答案解析