N-queen problem-doubt

code: https://ide.codingblocks.com/s/117973
what is the error in the code?

@dvitiarora hey dviti there is a video on this particular problem go and watch it.

i cross checked with the video, but couldn’t find where am i going wrong.

@dvitiarora can you please tell me your video title?.

n-Queen using backtracking
link:https://online.codingblocks.com/player/24059/content/7816/148

@dvitiarora hey dviti I am providing you a correct version code for this problem do a check with your code this will clear you concept. code