free(p)后指针问题

笔试很喜欢考这些   #include <stdio.h> #include <string.h> #include <stdlib.h> int main() {   char *str = (char *)malloc(100);   strcpy(str, "hello");   free(str);   if(str != NULL)     {       strcpy(str, "wo
相关文章
相关标签/搜索