This is a simple C language program that will locate 8 queen in chess board with all of the states and you can determine the position of first queen on the chess board.