Rotate image NXN array 90 degree

https://ide.codingblocks.com/s/50042

sir my code is showing run time error at test cases, but it is showing correct output at sample case.

Hey Yukti, read the constraints given in the problem carefully N<1000 while you are taking a 2D array of 10*10 only.