void swap (char *x,char *y) { char *t; t=x; x=y; y=t; } void main() { char *s1="abc",*s2="123"; swa
voidswap(char*x,char*y){char*t;t=x;x=y;y=t;}voidmain(){char*s1="abc",*s2="123";swap(s...
void swap (char *x,char *y)
{
char *t; t=x; x=y; y=t;
}
void main()
{
char *s1="abc",*s2="123";
swap(s1,s2);
printf ("%s,%s\n",s1,s2);
}
运算方法和结果,谢谢啦 展开
{
char *t; t=x; x=y; y=t;
}
void main()
{
char *s1="abc",*s2="123";
swap(s1,s2);
printf ("%s,%s\n",s1,s2);
}
运算方法和结果,谢谢啦 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询