You are viewing a single comment's thread. Return to all comments →
int N; cin>>N; int arr[N];
for(int i=0;i<N;i++) { cin>>arr[i]; } for(int i=N-1;i>=0;i--){ cout<<arr[i]<<" "; }
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays Introduction
You are viewing a single comment's thread. Return to all comments →
int N; cin>>N; int arr[N];