Array spiral print anticlockwise

i cannot find error in the code pls see

I have edited your code,…Try to submit now…
There was a change in line no 47 of your code as
cin>>a[i][j];
Refer to the code… as