我們可以下面方式呼叫此函式:. int data[10]={12,522,43,3423,23,21,34,22,55,233}; int summation = 0; ... summation = sum(data,10);. 由於陣列與指標可互相轉換的 ...
確定! 回上一頁