list.cc
/* Get the length of the LIST.  */
Get the length of the LIST.
Get the length of the LIST .
static int
list_length (node *list)
{
  int n = 0;
  while (list)
    ++n, list = list->next;
  return n;
}
static int list_length ( node * list ) { int n = 0 ; while ( list ) ++ n , list = list -> next ; return n ; }
Get the length of the LIST.
Get the length of the LIST .