int Calculate_Length(Link * Head)
{
{
Link * p;
int length = 0;
p = Head;
while(p)
{
length++;p = p->next;
}}
return length;
Link * p;
int length = 0;
p = Head;
while(p)
{
length++;p = p->next;
}}
return length;