单项选择题

某射手的命中率为p(0<p<1),该射手连续射击n次才命中k次(k≤n)的概率为( )

A.p k (1—p) n—k
B.C n k p k (1—p) n—k
C.C n—1 k—1 p k (1—p n—k
D.C n—1 k—1 p —k—1 (1—p) n—k