This is my program to print natural numbers from 1 to N^2 in a clockwise spiral. I’m getting the following error This is my program The code works fine for N=2 but starts giving this error for N=3,4 etc. If N=3, the greatest value of arr[i][c2] will be arr[2][2] which falls in the range of a 3×3 matrix. Could someone