問題詳情

34)有以下程序  #include   int fun)  { static int x=1;   x*=2;   return x;  }  main)  { int i,s=1;   fori=1;i<=3;i++) s*=fun);   printf"%dn",s);  }  程序运行后的输出结果是  
(A)0
(B)10
(C)30
(D)64

參考答案

答案:D
難度:適中0.5
統計:A(0),B(0),C(0),D(0),E(0)

內容推薦