All are correct
Igneous rocks are formed when the melting magma (lava) flows out and settles near the Earth's surface. It crystallizes to produces natural glasses after cooling down.
The igneous rocks cooling down and depositing at the surface of earth are called extrusive rocks while the one depositing below the earths surface is called intrusive rock.
Intrusive rocks are exposed by erosion and then they acquire large piece of earths surface