Cin>>m>>n; int arr[m][n] vs int arr[1000][1000]

my code was giving error for int arr[m][n] but when i assigned its value to int arr[1000][1000] is compiled…

@manthan.joshi.jiit share your code using cb ide so that i can look

it is working fine on my computer but giving error in coding blocks ide

@manthan.joshi.jiit its because you are not giving input . give the input values it will work fine.