The correct option is C Sedimentary
The settling of the sediments brought by river or rainwater forms sedimentary rocks. These rocks can contain fossils because these are formed on the Earth's surface, under the water, at very low temperatures and pressures. The igneous rocks are formed from extremely hot magma and magma or lava can't contain any life forms. The metamorphic rocks also can't contain any fossil as these are formed by subjecting rocks to extremely high pressure and temperature.
So, the correct answer is 'sedimentary'.