Doubt in array passing


i was getting error like cannot convert int ()[n] to int ()[9]
i understood that error but how to overcome this other than taking grid[100][100]

hello @dare_devil_007 why to take array of size of 100 when in constraint array size is max of 9 .

corrected code is https://ide.codingblocks.com/s/338481
you have to initialise array like this when you have to pass the array to functions

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.