[求助]malloc开辟链表不成功!
include<stdio.h>#include<malloc.h>
typedef struct link{
float data;
struct link * next;
} *LinkList;
#define LEN sizeof(*LinkList)
void main()
{ LinkList head;
head=(LinkList)malloc(LEN);
printf("%d",head);
}
就这么简单,但是开辟不了