A-A+ 有如下程序: #include int fun() { static in 2022-02-20 15:38:46 问答库 阅读 问题详情 有如下程序: #include<stdio.h> int fun() { static int x=0: x+=2;return x; } main() { Int 1,s=1; for(i=1;i<=2;i++)s=fun(); printf(“%d\n”,s); } 该程序的输出结果为()。A.0B.1C.4D.8请帮忙给出正确答案和分析,谢谢! 参考答案 查看解答