Which mutation in a fruit fly could be passed on to its offspring?

A. a mutation in a cell of an eye that changes the color of the eye
B. a mutation in a leg cell that causes the leg to be shorter
C. a mutation in a sperm cell that changes the shape of the wing
D. a mutation in a cell of the digestive tract that produces a different enzyme