C provides the functions malloc() , realloc() , and free() for this purpose, ... Only overwrite the pointer if the memory was really reallocated.
確定! 回上一頁