摘要: 1 用循环求字符串长度 #include<stdio.h> #include<string.h> main(){ int i=0; char str[50]="wo ai c yuyan"; while(str[i]!='\0'){ i++; } printf("%d\n",i); 2 编写程序,去 阅读全文
posted @ 2021-11-23 20:29 赵雅萌 阅读(22) 评论(0) 推荐(0) 编辑