The correct option is C differentiated into three layers
The ovary of the flowering plants transforms into fruit after fertilisation. The wall of the ovary develops into the wall of the fruit (pericarp).
In fleshy fruits, pericarp is differentiated into an outer epicarp, middle mesocarp and an inner endocarp.