摘要:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 阅读全文
posted @ 2021-11-27 09:36
不是心语
阅读(27)
评论(0)
推荐(0)
摘要:
1.用循环机构求字符串长度。 #include<stdio.h> main(){ char cs[20]; int i=0,lenght=0; gets(cs); puts(cs); while(cs[i++]!='\0') lenght++; printf("字符串的长度为:%d\n",lengh 阅读全文
posted @ 2021-11-27 09:34
不是心语
阅读(37)
评论(0)
推荐(0)

浙公网安备 33010602011771号