【发布时间】:2020-05-28 13:02:26
【问题描述】:
无法解决c中调用s1 s2 is used uninitialized this function的警告
int main()
{
char *s1, *s2;
printf("Please enter string s1 and then s2:\n");
scanf("%s %s", s1, s2);
printf("%s %s", *s1, *s2);
return 0;
}
【问题讨论】: