摘要:
#include#includeusing namespace std;int sum;struct LNode{ char data; struct LNode * next;};void f1(LNode *&L){ LNode *s,*r; int n; L=(LNode *)malloc(sizeof(LNode)); cout>n; r=L; for(int i=0;i>s->data; sum++; r->next=s; r=s; } r->next=NULL;}void f2(LNode *&L){ LNode *r=L,*s; wh 阅读全文