If as the quantity produced increase a production function first exhibits increasing marginal product and later diminishing marginal product, the corresponding marginal-cost curve will ?

If as the quantity produced increase a production function first exhibits increasing marginal product and later diminishing marginal product, the corresponding marginal-cost curve will ?

A. be flat (horizontal)
B. slope upward
C. slope downward
D. be U-shaped.