题解 | #逆序输出#
逆序输出
https://www.nowcoder.com/practice/bb66c27cb7aa48f9ba7d9f88e4068285
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { int arr1[10]; int i = 0; for (i = 0; i < 10; i++) scanf("%d", &arr1[i]); for (i = 9; i >= 0; i--) { printf("%d ", arr1[i]); } return 0; }