問題詳情

5. 函數 f 定義如下,如果呼叫 f(1000),指令 int f (int n) {sum=sum+i 被執行的次數最接近下列何者?


(A) 1000
(B) 3000 
(C) 5000
(D) 10000 

參考答案

答案:B
難度:計算中-1
書單:沒有書單,新增