20 C语言链表问题,关键我调试时候看p=p->next时p的地址在不断变小,惊呆

C语言两个非递减链表合为一个非递减链表问题。看一位博主写的程序,但他是合并为递减链表,请问要做什么修改呢?#include #include typedef struct list { int data; struct list * next; //下一个节点地址 }list; //第一条链表 struct list * L=NULL;//头 struct list * head=NULL;//首 struct list * p=NULL; //第二条链表 struct list * L1=NULL;//头 struct list * head1=NULL;//首 struct list * p1=NUL...
2019-10-07 21:13:52
  • 被浏览
    159
  • 被关注
    0
VIP会员 学习计划 福利任务
下载APP
联系我们
帮助与反馈