include<stdio.h>int main(){char s[11];int i=0;gets(s);s[10]=0;while(s[i]!=0)++i;for(;i<=9;++i)s[i]='#';printf("%s",s);return 0;}
include<stdio.h> include<string.h> int main(){ char a[6][50],s[50];int max=0;for(int i=0;i<5;i++){ gets(a[i]);if(strlen(a[i])>max){ max=strlen(a[i]);//记录最长字符串的长度;strcpy(s,a[i]);//记录最长的字符串 } } printf("max=(%s)\n",s);for(int...