Update Chainlist_program.c

main
pi7mcrg2k 5 days ago
parent 8c7daaeeaf
commit a90544f44a

@ -201,14 +201,14 @@ int main(void) {
head = (LinkList*)malloc(sizeof(LinkList));//分配地址
head->prev=NULL;
/*
LinkList wang={"1003","11","wang",1,2,3,6,head,NULL};
LinkList zhang={"1002","22","zhang",3,2,3,8,&wang,NULL};
LinkList li={"1001","11","li",1,4,3,9,&zhang,NULL};
head->next=&wang;
wang.next=&zhang;
zhang.next= &li;
*/
while(1){

Loading…
Cancel
Save