问答题

简答题 从键盘任意输入一个字符串,计算其实际字符个数并打印输出,即不使用字符串处理函数strlen()编程实现strlen()的功能。**输入格式要求:%s提示信息:Pleaseenterastring:**输出格式要求:Thelengthofthestringis:%u\n程序的运行示例如下:Pleaseenterastring:HelloChinaThelengthofthestringis:11

【参考答案】

热门 试题