功能:建立两个单链表a和b,删除b链表中数据域与a链表中数据域相同的结点。最后输出a和b
#include "stdio.h"
#include "malloc.h"
struct linklist
{int xh;
struct linklist *next;
};

struct linklist *creat(int m)/*建表函数*/
{int i;

展开全部
收起
2回答
提交回答
  • 至过去的我

    2044人对此回答表示赞同

    我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多>
    发布于
  • RossiWu

    20人对此回答表示赞同

    错的地方不少,有语法错误,还有逻辑错误,
    都已经给你改好了,并且编译运行确认了。
    具体的看一下注释吧:

    #include "stdio.h"
    #include "malloc.h"
    struct linklist
    {int xh;
    struct linklist *next;
    };

    struct linklist *creat(int m)/
    展开
    20
    0回复
    发布于 5年前

    评论(0)

    收起评论

  • 情深深

    17人对此回答表示赞同

    #include "stdio.h"
    #include "malloc.h"
    struct linklist
    {
    int xh;
    struct linklist *next;
    };

    struct linklist *creat(int m)/*建表函数*/
    {
    int i;
    struct linklist *head, *q, *
    展开
    17
    0回复
    发布于 5年前

    评论(0)

    收起评论

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
咨询热线

13312967497

扫码添加业务即可随时咨询 还可领取小程序推广攻略

业务咨询: 13312967497
扫码咨询

扫码咨询套餐

回到顶部