問題詳情

33)有以下程序  #include   int f int t[],int n);  main  { int a[4]={1,2,3,4},s;  s=f a,4); printf "%dn",s);  }  int f int t[],int n)  { if n>0) return t[n-1]+f t,n-1);  else return 0;  }  程序运行后的输出结果是
(A) 
(B)1O  
(C) 
(D)6

參考答案

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

內容推薦

內容推薦