Correct option is (B) 9
The given quadratic equation is,
\(x^{2}+6 x+k=0\)
Here,
\(a=1, b=6 \text { and } c=k\)
For real and equal roots,
\(D =0\)
\(b^{2}-4 a c =0\)
\((6)^{2}-4 \times 1 \times k=0\)
\(36-4 k =0\)
\(+4 k =+36\)
\(k=\frac{36}{4}\)
\(\therefore k =9\)