Update 线性表动态初始化.c

This commit is contained in:
ViolentAyang
2022-03-06 10:43:16 +08:00
committed by GitHub
parent ebebed811c
commit b0df8505c0

View File

@@ -22,8 +22,8 @@ void IncreaseSize(SeqList *L,int len){
free(p);
}
int main(){
SeqList *L;
InitList(L);
IncreaseSize(L,5);
SeqList L;
InitList(&L);
IncreaseSize(&L,5);
return 0;
}