-> -> ->
2010年9月全国计算机等级考试二级C语言笔试试题及答案(六)
时间:2012-10-01 18:47:14
微信搜索关注"91考试网"公众号,领30元,获取事业编教师公务员等考试资料40G
; D)3 7
(36)有以下程序
#include<stdio.h>
int fun()
{static int x=1;
x+=1;return x;
}
main()
{int i;s=1;
for(i=1;i<=5;i++)s+=fun();
printf(”%d\n”,s);
}
微信搜索关注"91考试网"公众号,领30元,获取公务员事业编教师考试资料40G