题目内容
写出下面程序执行后的运行结果。 #include #include using namespace std;void swapl____{int t;t = c0[0]; c0[0] = cl[0]; cl[0] = t;}void swap2____{int t;t = *c0; *c0=*cl; *cl = t;}void main____{int a[2] = { 3, 5 }, b[2] = { 3, 5 };swapl____; swap2____;cout << setw____ << a[0];cout << setw____ << a[1];cout << setw____ << b[0];cout << setw____ << b[1];}
查看答案
搜索结果不匹配?点我反馈
更多问题