把指针变量p free掉后,原来指向p的指针的值变成多少了?(有具体代码^_^)
structnode{intvalue;structnode*next;}*p,*prev;p=malloc(sizeof(*p));prev=p;p=p->next;f...
struct node {
int value;
struct node *next;
} *p, *prev;
p = malloc(sizeof(*p));
prev = p;
p = p->next;
free(p);
prev->next == ? 展开
int value;
struct node *next;
} *p, *prev;
p = malloc(sizeof(*p));
prev = p;
p = p->next;
free(p);
prev->next == ? 展开
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询