分类导航
40.下列函数的功能是统计不带头结点链表的结点数。 #include struct node { int data;
struct node *next;}; count(struct node *head) { int n;
while(head!=NULL) { n++;
head=head->next; }
return n; }
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库程序改错题(3)在线全文阅读。
相关推荐: