摘要: 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-25 17:24 陈快乐; 阅读(52) 评论(0) 推荐(0)