The correct one is , B. Hope that helps.
Igneous rock derives it's name from the Latin word ignis which means fire. It is formed when the magma after volcanic eruption gets cool and solidified either on the surface of earth crust or inside the earth crust. These rocks are characterized by their hardness. These rocks undergoes no chemical weathering but exhibit very low mechanical or physical weathering may occur. Therefore, hardness is the property which can be used to identify the origin of an igneous rock.