首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
自考
下列函数的功能是求链表长度,填空完成程序。 struct node {char ch; struct node*link; }; str(struct node*p) {int ① ; w
下列函数的功能是求链表长度,填空完成程序。 struct node {char ch; struct node*link; }; str(struct node*p) {int ① ; w
admin
2017-10-26
33
问题
下列函数的功能是求链表长度,填空完成程序。
struct node
{char ch;
struct node*link;
};
str(struct node*p)
{int ① ;
while(p!=NULL)
{ ② ;
count++:
}
return(count);
}
选项
答案
①count=0 ②p=p一>next
解析
转载请注明原文地址:https://kaotiyun.com/show/r9kx777K
本试题收录于:
计算机软件基础题库理工类分类
0
计算机软件基础
理工类
相关试题推荐
根据胎盘边缘与子宫颈内口的关系,子宫颈内口全部被胎盘组织覆盖,称为___________性前置胎盘。
某女,35岁,妇科检查发现子宫颈糜烂面积占宫颈的2/3,糜烂面表面光滑,此患者的宫颈糜烂程度和类型是()
功能失调性子宫出血
会阴切开常用的方式有会阴______________与正中切开。
宫内节育器的放置时间常规为月经干净后______________天。
有关急性胰腺炎腹痛特点的描述,错误的是
综合性护理课程的特点在于课程结构的决定因素是()
“我能够熟练运用护理程序了”,该护理应用属于哪项经验分类()
请编写一算法,对具有n个元素的一维数组x实现折半查找,数组内的元素已按升序排列。
概率矩阵
随机试题
It’srequiredthatthestudents________thetermpapertomorrow.
党领导人民治理国家的基本方略是
某医生欲比较两种疗法(单纯手术与手术加放疗)治疗某肿瘤的疗效,1995年到2000年5年时间内他随访了20例手术病人与25例手术加放疗病人,他们的结局如下:据此资料直接法计算单纯手术疗法5年生存率时的分母等于
心力衰竭治疗最常见的药物是
贯穿党的十八大报告的一条主线是()。
下列哪一法律职业人员的行为不违背相应职业纪律要求?
及时生产的存货系统运行的基本条件有()。
甲公司是一家玩具制造商,其业务已扩展到国际市场。甲公司在劳动力成本较低的亚洲设立玩具组装工厂,在欧洲设立玩具设计中心,产品销往全球100多个国家和地区。甲公司国际化经营的战略类型属于()。
下面属于相关需求的是()。
简述徇私枉法罪的客观构成要件。
最新回复
(
0
)