Test cases not passing (TELL error in my code:)

TELL error in my code:
#include
using namespace std;
void read(int arr[][10],int r,int c)
{
for(int i=0;i<r;i++)
{
for(int j=0;j<c;j++)
{
cin>>arr[i][j];
}
}
}
void print(int arr[][10],int r,int c)
{
for(int i=0;i<r;i++)
{
for(int j=0;j<c;j++)
{
cout<<arr[i][j]<<" β€œ;
}
cout<<endl;
}
}
void waveprint(int arr[][10],int r,int c)
{
for(int j=0;j<c;j++)
{
if(j&1)//odd column
{
for(int i=r-1;i>=0;i-- )
{
cout<<arr[i][j]<<”,";
}
}
else
{
for(int i=0;i<r;i++)
{
cout<<arr[i][j]<<",";
}
}
}
}

int main() {
int r,c,arr[10][10];
cin>>r>>c;
read(arr,r,c);
print(arr,r,c);
waveprint(arr,r,c);
cout<<β€œEND”;
}

Hey @prachi2521
Check the comments I mentioned in this code. https://ide.codingblocks.com/s/180279.
And I request you to send code on CB IDE from next time since it is easier to understand code that way.
If your doubt is resolved please mark it as cleared.

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.