Count nqueens in backtracing

https://ide.codingblocks.com/s/172763 why this shows runtime error?

@guptaaman155 I think this error is due to the board pointer it is not initalizing as your requirement so go with a for loop to initalize it and try your code again all other part of code is fine. If you still find any error just ping here.

bhaiya ,how the board pointer be initialize?

use nested for loop to initalize each item in board matrix.

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.