If $\alpha, \beta, \gamma$ are the roots of the equation $x^{3}+p x+q=0$, then the value of the determinant
$\left|\begin{array}{ccc}1+\alpha & 1 & 1 \\ 1 & 1+\beta & 1 \\ 1 & 1 & 1+\gamma\end{array}\right|$ is
(A) $p^{2}-2 q$
(B) $3 p q$
(C) $p-q$
(D) None of these