Visual Studio Code – segmentation fault while trying to solve the eight queens problem in C
Here i am trying to solve the infamous eight queens problem, and when i finally thought i got it,a segmentation fault hits me out of nowhere, the code i wrote is: #include<unistd.h> #include<stdio.h> int isLastBoard(int *chessBoard){ for(int i = 0…