下列程序的运行结果______
#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;}
添加回答
举报
0/150
提交
取消