数据结构问题小白求解

我想得到这个顺序表的长度,为什么会给我得出一个7位数呢,显然不是啊。代码如下:
#include
#include
#define Max 15
typedef int ElemType;
typedef struct{
ElemType data[Max];
int length;

}SqList;

void CreateList(int n){
ElemType a[10];
SqList *L;
n=10;
L =(SqList *)malloc(sizeof(SqList));
for(int i=0;i L ->data[i]=a[i];
L ->length=n;

}
int ListLength(SqList *L){
return(L ->length);
}
main(){
printf("%d\n",ListLength);
return 0;
}

 printf("%d\n",ListLength);
这里输出的是ListLength这个函数的地址,而不是长度
应该是printf("%d\n",ListLength(你的链表));