可学答题网 > 问答 > 数据结构题库,计算机科学技术题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

写出算法的功能。int L(head){ node * head; in


写出算法的功能。int L(head){ node * head; int n=0; node *p; p=head; while(p!=NULL) { p=p->next; n++; } return(n); }

参考答案
参考解析:

暂无解析

分类:数据结构题库,计算机科学技术题库
相关推荐

1、设有一个不带头结点的单向链表,头指针为head,结点类型为NODE,每个结点

设有一个不带头结点的单向链表,头指针为head,结点类型为NODE,每个结点包含一个数据域data和一个指针域next,该链表有两个结点,p指向第二个结点(尾结点),按以下要求写出相...

2、In stopping distances of vessels,head

In stopping distances of vessels,head reach can best be described as the().Adifference between the vessel's speed through the water at any...

3、What is head tank in the closed coolin

What is head tank in the closed cooling water system used for?()Afor the release of air from the cooling waterBproviding expansion room for heated cooling waterCa place for implementing water and water treatment agentDall of the above

4、Who is the head of state in Ireland to

Who is the head of state in Ireland today?()AThe Queen.BThe prime minister.CThe president.DThe Dai.

5、In order to withstand fluid head press

In order to withstand fluid head pressure on a ship,stiffeners are often attached to the bulkhead().ApenetrationsBplatingCframingDbracket

6、Two vessels meeting in a “head-on” sit

Two vessels meeting in a “head-on” situation are directed by the Rules to().Aalter course to starboard and pass port to portBalter course t...