Concept:If (x+1) is a factor of a polynomial f(x), then by the Factor Theorem, f(−1)=0.Explanation:Let f(x)=x3+px2+x+6.Since (x+1) is a factor, substitute x=−1 and set f(−1)=0.f(−1)=(−1)3+p(−1)2+(−1)+6=0−1+p−1+6=0p+4=0p=−4Answer:p=−4Correct option: B