填空题
以下程序运行时输出到屏幕的结果中第一行是
1
(7)
2
,第二行是
3
(8)
4
#include
int fun(int x) {static int y=1,z=0; y*=x; z+=y; return z; } void main
5
{int x; for(x=1;x<3;x++) printf("%d/n",fun(x)); }
1、
【正确答案】
1、(7)1 (8)3
【答案解析】
提交答案
关闭