
我能说我看不懂老师给的
#include"stdio.h"
#define Maxsize 20
typedef int elemtype;
typedef struct node{ elemtype data;
struct node *next; }lnode;
typedef lnode * linklist;
int length_list(linklist head) {lnode *p=head;
int j=0;
if(!p){ printf("error");}
while(p->next) {p=p->next;j++;}
return j; }
是几个意思吗