Please answer a question of data structure:
The following code error reason: the use of an uninitialized local variable head.
But I clearly initialization of
# include "HeadLinkList. H"
Int main ()
{
LinkList head;
Init_LinkList (head);
For (int I=0; I & lt; 5; I++)
{
Insert_LinkList_Tail (head, 0);
}
Show_LinkList (head);
return 0;
}
CodePudding user response:
There should be a head=... And your code no.
CodePudding user response:
I've used Init_LinkList initialization will head ah
CodePudding user response: