这段语句是为L.elem重新分配内存空间。realloc函数只能给通过malloc函数获取空间的变量重新分配空间,即:L.elem=(ElemType *)malloc(常量*sizeof(ElemType))获得内存空间的。