打死不穿秋裤

 

2021年11月26日

第九次作业

摘要: 用循环求字符串长度 #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); } 编写程序,去掉字 阅读全文

posted @ 2021-11-26 20:16 打死不穿秋裤 阅读(11) 评论(0) 推荐(0)

导航