以下程序的运行结果是#includevoid sub(int x, int y, int * z){* z=y-x;}void main
14 查阅
以下程序的运行结果是 #include<iostream.h> void sub(int x, int y, int * z) { * z=y-x;} void main( ) { int a,b,c; sub(10,5,&a) ; sub(7,a,&b) ; sub(a,b,&c) ; cout < < a < < "," < < b < < "," < < C < < endl;}
A.5,2,3
B.-5,-12,-7
C.-5,-12,-17
D.5,-2,-7
参考答案: