请分析以下程序,运行结果是:void fun(int *c, int d){*c = *c + 1; d = d + 1;printf("%d%d", *c, d);}main(){int a = 1, b = 1;fun(&a, b);printf("%d%d", a, b);}
查看答案
请分析以下程序,运行结果是:void fun(int *p, int *w){*p = 3;*w = 4;}main(){int a, b;fun(&a, &b);printf("%d,%d", a, b);}
请分析以下程序,运行结果是:int f(int x, int y){if (x != y) return (x+y)/2;else return x;}main(){int a = 4, b = 5, c = 6;printf("%d",f(2*a,f(b,c)));}
请分析以下程序,运行结果是:int f(int x){return x * 2;}main(){int n = 1, m;m = f(f(f(n)));printf("%d", m);}
请分析以下程序,运行结果是:void fun(int p){int d = 2;p = d++; printf("%d", p);}main(){int a = 1;fun(a); printf("%d", a);}