📅  最后修改于: 2022-03-11 14:44:53.759000             🧑  作者: Mango
#include
using namespace std;
int main() {
int array1[5]={1,2,3,4,5};
int array2[5];
for(int i=0;i<5;i++) {
array2[i]=array1[(5-i)-1];
cout<<"Number at index"<