realloc. Suppose we have a simple array, and a subfunction for adding items to it: #define MAXELTS 100 int array[MAXELTS]; int num_of_elements = 0; ...
確定! 回上一頁