填空题
以下程序运行后的输出结果是______。
void swap(int x,int y)
int t;
t=x;x=y;y=t; printf("%d %d ",x,y);
main()
int a=3,b=4;
swap(a,b); printf("%d %d\n",a,b);
【参考答案】
4 3 3 4
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
有下列程序; #include<stdio.h> main() char c; while((c=getchar()) !=’,’) putchar(++C) ; 程序运行时,如果从键盘输入:A,B,<CR>,则输出结果为______。
点击查看答案&解析
填空题
以下程序的运行结果是: 。 #include <stdio.h> #include <string.h> char *ss(char *s) return s+strlen(s) 2; main() char *p,*str= abcdefgh ; p=ss(str);printf( %s n ,p);
点击查看答案&解析
相关试题
下列程序的输出结果是______。 #in...
下面rotate函数的功能是:将n行n列的矩阵A...
下列程序运行后的输出的结果是______...