填空题
有以下程序:
#include <stdio.h>
int *f(int *p, int*q);
main()
int m=1,n=2,*r=&m;
r=f(r,&n);printf("%d\n",*r);
int *f(int *p, int*q)
remm(*p>*q)p:q;
程序运行后输出的结果是______。
【参考答案】
B
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
下列程序的运行结果为______。 #include <stdio.h> #include <string.h> struct A int a;charb [10]; double c;; void f(struct A*t); main() struct A a=1001, ZhangDa , 1098.0; f(&a); printf( %d, %s, %6.1f n , a.a, a.b, a.c); void f(struct A*t) strcpy(t->b, ChangRong );
点击查看答案
填空题
以下程序的输出结果是______。 #include <string.h> main() (char a[]= ’,’ 2’,’ 3’,’ 4’,’ ’0’; printf( %d %d n ,sizeof(a),strlen(a));
点击查看答案
相关试题
以下程序的输出结果是______。 #in...