問答題

【簡答題】從鍵盤任意輸入一個字符串,計算其實際字符個數(shù)并打印輸出,即不使用字符串處理函數(shù)strlen()編程實現(xiàn)strlen()的功能。**輸入格式要求:%s提示信息:Pleaseenterastring:**輸出格式要求:Thelengthofthestringis:%u\n程序的運行示例如下:Pleaseenterastring:HelloChinaThelengthofthestringis:11

答案:

題目列表

你可能感興趣的試題

微信掃碼免費搜題