阅读程序选结果 。 #include main() { int i, temp; int a[5] = { 9,6,5,2,1 }; for (i = 0; i<5 / 2; i++) { temp = a[i]; a[i] = a[5-i-1]; a[5-i-1] = temp; } for (i=0; i<5; i++) printf(\%d\, a[i]); }

时间:2022-11-16 05:17:38

相似题目