The correct answer is C. Basalt.
Basalt is a common extrusive igneous rock formed from the rapid cooling of lava exposed at or very near the surface of a planet. It is usually found in the ocean floor and in large lava flows on land. Basalt is a fine-grained rock with a low silica content. It is dark in color and has a smooth, glassy surface.
Granite is an intrusive igneous rock formed when magma cools slowly underground. It is a coarse-grained rock with a high silica content. Granite is
light in color and has a rough, crystalline surface.Dolerite is an intrusive igneous rock that is similar to granite, but it has a lower silica content and a finer grain size. Dolerite is often used as a building stone.
Therefore, the only volcanic rock among the given options is basalt.