Getting error in passing 2D array in function

https://ide.codingblocks.com/#/s/16987

This is the link to my N-Queen problem. Please tell me how do I resolve this error.

Hey, don’t access negative indexes as well as addresses that is not allocated to array, in is safe function ,in second if under for loop

Row-i>=0 ,row+i<n