The correct option is B -A
This is based on the property of determinants that if you interchange a pair of rows or columns in a matrix the determinant of the resulting matrix will be the negetive of the determinant of the original matrix. Here you can see that the second determinant is arrived by interchanging first and second rows. Hence the resulting second determinant is the negetive of the determinant of the first matrix.
Thus, ∣∣
∣∣defabcghi∣∣
∣∣=−A