Concept:If (x+2) is a factor of a polynomial, then x=−2 is a root of that polynomial.Explanation:Given: (x+2) is a factor of x2+px−10.So, substitute x=−2 into the polynomial and equate it to 0.(−2)2+p(−2)−10=04−2p−10=0−2p−6=0−2p=6p=−26=−3Thus, the value of p is −3.Answer:p=−3, which is option B.