In the above example, realloc is used to reduce the dynamic array size to half. If the first parameter to realloc is NULL , then realloc behaves like malloc .
確定! 回上一頁