len函数

xiaoxiao2021-02-28  78

 int Get_Len(Node * h) {  if (h == NULL)   return 0;    Node *tmp = h;  int count = 0;  while (tmp->next)  {   count++;   tmp = tmp->next;  }    return count; }
转载请注明原文地址: https://www.6miu.com/read-70534.html

最新回复(0)