Test case issue

doubt
#include
using namespace std;
void Inverse(int arr[],int n)
{
int other[n];
other[0]=arr[0];
int ans=1;
for(int i=n-1;i>=1;i–)
{
other[ans]=arr[i];
ans++;
}
for(int i=0;i<n;i++)
{
cout<<other[i]<<" ";
}

}

int main() {

int n;
cin>>n;
int arr[100];
for(int i=0;i<n;i++)
{
    cin>>arr[i];
}

Inverse(arr,n);

}

hi @tarun1010
join this meet

bhaiay once cheeck my code

as we discuss in meet
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

you have reopen your doubt??

it is done by mistake or you want to ask something??