69,381
社区成员
发帖
与我相关
我的任务
分享
# include <stdio.h>
int main(void)
{
char str1[20],str2[20];
scanf("str1==%s",str1);
printf("%s\n",str1);
scanf("%s",str2);
printf("str2==%s\n",str2);
return 0;
}
# include <stdio.h>
int main(void)
{
char str1[20],str2[20];
scanf("%s",str1);
printf("%s\n",str1);
scanf("%s",str2);
printf("str2==%s\n",str2);
return 0;
}
# include <stdio.h>
int main(void)
{
char str1[20],str2[20];
memset(str1,0,sizeof(str1));
memset(str2,0,sizeof(str2));
scanf("%s",str1);
printf("%s\n",str1);
scanf("%s",str2);
printf("str2==%s\n",str2);
return 0;
}