试题与答案

下面程序的运行结果是 【18】 。 void swap(int *a,int *b

题型:填空题

题目:

下面程序的运行结果是 【18】
void swap(int *a,int *b)

int *tp;
t=a;a=b;b=t;

main()

int x=3,y=5,*p=&x,*q=&y;
swap(p,q);
printf("%d%d\n",*p,*q);

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0716/19f477bb3312d23f16719e77bb3ad760.html

下面是错误答案,用来干扰机器的。

参考答案:对

试题推荐
微信公众账号搜索答案