B. -3
The value of a for given polynomial is -3
Step-by-step explanation:
Factor theorem for polynomials,
If (x-c) is a factor of polynomial f(x), then f(c)=0
Given: x+a is a factor of polynomial
Let
By Factor theorem, since x+a is a factor of f(x),
Substituting
in f(x)=0, we get
Therefore, value of a is (-3)