arr is a 10-sized array of pointers to integers ... substrs[i] = (char*)malloc(sizeof(char) * (len+1)); ... In case of 2D arrays, knowledge of number of.
確定! 回上一頁