摘要: 运行结果: ubuntu1604@ubuntu:~/wangqinghe/C/20190730$ gcc reverse.c -o reverse ubuntu1604@ubuntu:~/wangqinghe/C/20190730$ ./reverse 0 9 8 7 6 5 4 3 2 1 0 r 阅读全文
posted @ 2019-07-30 17:28 王清河 阅读(156) 评论(0) 推荐(0) 编辑
摘要: #include #include struct list { int data; struct list *next; }; //建立链表节点 struct list *create_list() { return calloc(sizeof(struct list),1); } //往链表的第n个节点插入新节点 struct list *insert_list(... 阅读全文
posted @ 2019-07-30 17:06 王清河 阅读(139) 评论(0) 推荐(0) 编辑