這樣輸出的答案是2,這樣大概了解陣列等於指標的事情了吧! ... void test(int*); //標頭採用整數指標的方式傳入值 ... ar[i-1] = (char *)malloc(sizeof(char)*i);
確定! 回上一頁