编写一函数length求字符串的长度,要求在主函数mare中输入字符串,并输出字符串的长度。不能使用strlen库函数。例如:输入string,则输出6。
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/810595.html
上一篇:Alcatraz Island, sometimes referred to as the Rock, is a small island located in the middle of San Francisco Bay in California. It served as a lighthouse, then a military fortification (要塞),then a military prison followed by a federal prison until 19
下一篇:患者,男性,25岁,因2天前受凉后出现高热,咳嗽、咳痰加重,痰液为铁锈色,胸 部X线检查示肺部片状阴影,诊断为肺炎。则该患者目前最可能的致病菌是