Answer: Option (D)
Explanation: Magmas when comes out of the surface, then it is known as lava and this lava immediately solidifies, and forms igneous rocks. The crystal's size and texture depends upon the rate of cooling of magma.
Thus the correct answer is option (D).