3. Consider the following C# code snippet for checking if a queen can be placed at row 1, column 2 on a 4x4 board:
bool IsSafe(int[,] board, int row, int col) {
for (int i = 0; i < col; i++) {
if (board[row, i] == 1) return false;
}
for (int i = row, j = col; i >= 0 && j >= 0; i--, j--) {
if (board[i, j] == 1) return false;
}
for (int i = row, j = col; i < 4 && j >= 0; i++, j--) {
if (board[i, j] == 1) return false;
}
return true;
}
int[,] board = new int[4,4];
board[0, 1] = 1;
bool result = IsSafe(board, 1, 2);
Console.WriteLine(result);What will be the output?