创建线性表问题?
#include<stdio.h>
#include<malloc.h>
#define INIT 5;
struct node{
int data;
int length;
int listsize;
struct node *next;
};
int main()
{
struct node *L=NULL;
L=(struct node *)malloc(INIT * sizeof(struct node ));
L->length=0;
L->listsize=INIT;
}
请问这个错在哪里?