通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有如下程序:
#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); }
程序运营后的输出成果是( )