The correct option is D For k=5, the roots are real and equal.
(k+4)x2+(k+1)x+1=0
Discriminant of the equation is,
Δ=(k+1)2−4(k+4) =k2+2k+1−4k−16 =k2−2k−15 =(k−5)(k+3)
For k=−5,
Δ=20>0
Hence, for k=−5, roots are real and distinct.
For imaginary roots,
Δ<0
⇒(k−5)(k+3)<0
⇒k∈(−3,5)
Possible integral values of k are −2,−1,0,1,2,3,4
For k=5,−3,
Δ=0 and hence, roots are real and equal.