lvsuilv 的 站内主页

请指教
HOT

反向输出链表,但总出错,已知肯定是fan()这个函数有错,但不知道错在哪?#include<stdio.h>#include<stdlib.h>#define len sizeof(d)typedef struct s{ int a; struct s *next;}d;void main(){ d *creat(); void pr...
阅读全文

高手请赐教
HOT

这段代码的功能要求是先建立两个链表,大小有序,然后连接为一个链表,仍然有序如输入1,5,9,02,4,8,0后结果为1,2,4,5,8,9但为什么下面的代码总不对呢,高手请指教#include<stdio.h>#include<stdlib.h>#define len sizeof(d)typedef struct s{ int a; struct s ...
阅读全文