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]
Doubt in array passing
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.