Arrays-Reverse an aaray

this is my code to reverse an array please help me out here how should i do it

The code given by you works fine, the array input that we give gets printed in reverse order.
One thing you can do is write cout<<arr[i]<<" "; to clearly give spacing between each element.
Feel free to reach out to me again if you still have some doubt.

it is not passing the test cases what should i do then??

anyone availaible here

anyone available here?? for my code

is any TA available here this is my literally 4th or 5th time and no one has responded yet … i hvae shared the code in this thread and my test cases aren’t getting passed can anyone help me here