If size is 0, then malloc() returns either NULL, or a unique pointer value that can later be successfully passed to free().

  • 这和数组的一样,你赋值给了一个指针指向的空间,空间不够时就越界了,而用的空间到底是什么谁也不知道!
目录 查词历史