N queen problem not able to figure out the issue

https://ide.codingblocks.com/s/37352

I am not getting any output may i know what is the issue?

check your canplace function… you are not checking all the conditions for placing a queen safely.