摘要: 1. #include<stdio.h> main() { char str[80]; int i=0; int length=0; gets(str); puts(str); while(str[i++]!='\0') length++; printf("字符串的长度为:%d\n",length) 阅读全文
posted @ 2021-11-25 20:58 姚佳旭 阅读(11) 评论(0) 推荐(0)