填空题
下列程序的输出结果如下:x, y=10,26x, y=10,26x, y=11,25请将程序填充完整#include < iostream>using namespace std;void f2((1)____){ int z = x; x = y; y = z;}void main( ){ int x = 10, y = 26; cout << "x, y=" << x << "," << y << endl; f2(x,y); cout << "x, y=" << x << "," << y << endl; x++; y--; f2(x,y); cout << "x, y=" << x << "," << y << endl;}
填空题
下列程序的输出结果如下:x, y=10,26x, y=26,26x, y=25,25请将程序填充完整#include < iostream>using namespace std;void f2((1)____){ int z = x; x = y; y = z;}void main(){ int x = 10, y = 26; cout << "x, y=" << x << "," << y << endl; f2(x,y); cout << "x, y=" << x << "," << y << endl; x++; y--; f2(x,y); cout << "x, y=" << x << "," << y << endl;}
填空题
下列程序的输出结果如下:x, y=10,26x, y=26,10x, y=9,27请将程序填充完整#include < iostream>using namespace std;void f2((1)________){ int z = x; x = y; y = z;}void main(){ int x = 10, y = 26; cout << "x, y=" << x << "," << y << endl; f2(x,y); cout << "x, y=" << x << "," << y << endl; x++; y--; f2(x,y); cout << "x, y=" << x << "," << y << endl;}
套餐购买该问题答案仅对会员开放,欢迎开通会员 ¥ 19.9
0.64/天
1个月(不限次)
¥ 19.9
1000次
(不限时)
¥ 29.9
0.32/天
3个月(不限次)
¥ 59.9
0.16/天
1年(不限次)
立即支付