求出下列程序的运行结果
下列程序的运行结果______
#include<stdio.h>
void f(char *from,char *to)
{while (*to)to++;
while ((*to++=*from++)!='\0');}
int main()
{char s1[80]="abc";
char s2[80]="123";
f(s2,s1);
printf("s1=%s\n",s1);
printf("s2=%\n",s2);
return 0;}

陈哈哈3
浏览 1115回答 1
1回答
-
习惯受伤
s1=abc。
s2=abc123
打开App,查看更多内容