1 #include <stdio.h> 2 #include <string.h> 3 int main(){ 4 char s1[100]; 5 gets(s1); 6 puts(s1); 7 printf("字符串长度:%d\n",strlen(s1)); 8 return 0; 9 }
C语言学习(8)
猜你喜欢
转载自www.cnblogs.com/Tobi/p/9235524.html
今日推荐
周排行