Wrong answer on printing all the possible subsequences in N queen problem

I want to print all the possible sequences for that, I am returning false in the base case, but I am obtaining wrong answers for it.
Here is my code: https://ide.codingblocks.com/s/216513