#include <stdio.h>
#include <string.h>
void main()
{
char p[200]={NULL};
char str[20]={NULL};
int i;
for(i=0;i<10;i++)
{
printf("请è¾å
¥ç¬¬%d个å符串: ",i+1);
scanf("%s",str);
fflush(stdin);
strcat(p,str);
}
printf("\nç»ååçå符串为: %s\n",p);
}
温馨提示:答案为网友推荐,仅供参考