一般在做int arr[M] 動態記憶體配置時長這樣. int *arr1 = (int*)malloc(sizeof(int) * M); /* for C */ int *arr2 = new int[M]; /* for C++*/.
確定! 回上一頁