如题所述
再问一下;怎么输出啊!用return吗?怎么用啊!
假设:int fun(int * p1, int * p2){ p1 = 2; p2 = 3;}调用时: int a, b; fun(&a, &b);printf("a=%d,b=%d\n", a, b);输出结果就是 a=2,b=3