Inverse of array

Sir ,what is wrong with my code. Can you modify it.
#include
using namespace std;
int main(){
int n,arr[n],narr[n];
cin>>n;
for(int i=0;i<n;i++){
cin>>arr[i];
}
for(int i=0;i<n;i++){
cout<<arr[i];
}
cout<<narr[i];
}

sorry for late reply , i missed your doubt

which question you are solving

first you take input in an array
then print that array

what you want to do??