Count not getting incremented

Here is the link to the code, here the count is not getting incremented, please help me rectify the mistake

hello @prerna_gupta31 i ahve corrected your code please find your error in the code and below and try to understand the difference .


Happy Learning !!

What changes did you make?

@prerna_gupta31
bool count1 = nqueen(board,n,i+1,count);

         if(count1){

             return true;

         }

i have added these lines in your code .