如果您有一个未初始化的指针,并且错误地尝试释放它,这是否会导致未定义的行为?
喜欢:
int main(void){ char *string; free(string); return 0; }
c free pointers
c ×1
free ×1
pointers ×1