填空题
[程序] (2分) #include
int f(int a,int &b,int *c) { a+=b; b+=*c;*c+=a; return (a+b+*c); } void main(void) { int x=5,y=5,z=6,sum; for(int i=0;i<2;i++){ sum=f(x,y,&z); cout<
1(8)
2
,第二行是
3
(9)
4
。
1、
【正确答案】
1、(8)5 11 16 37 (9)5 27 32 75
【答案解析】
提交答案
关闭