Challenges arrys QUES2 :why is it showing test cases failed ,I think my code is sufficient

#include<bits/stdc++.h>
using namespace std;

int main(){

 int m,n;//int f=INT_MIN;

cin>>m>>n;

int arr[11][11];

for(int i=0;i<m;i++)
for(int j=0;j<n;j++)cin>>arr[i][j];

for(int i=0;i<m;i++)
for(int j=0;j<n;j++){

    if(i%2==0)cout<<arr[j][i]<<", ";
    else cout<<arr[m-j-1][i]<<", ";
}
cout<<"END";

}

Hey @argus see for test case:
2 3
1 2 3
4 5 6
Expected output is:
1, 4, 5, 2, 3, 6, END
Yours is giving is:
1, 4, 2068453797, 5, 2, -873098348, END
Debug accordingly you will know your mistake.

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.