Count NQueen problem

https://hack.codingblocks.com/contests/c/512/399
https://ide.codingblocks.com/s/35411

i m getting problem to understand where should i declare the "count no of reslt " statement,when i write it in base case it gives 11 instead of 2 and when i write in main fn it gives 0

just declare a global variable let’s say count, int count when i==n and print count int main() after nqueen(). you can refer this link https://ide.codingblocks.com/s/37644

getting run error in 1 test case

@ayush9999723922 Update your board size, according to the constraint which is given to be 1<=N<=11 your board size must be lesser than 11.