Which of the following statements about igneous rocks is correct?
A. Intrusive igneous rocks are formed when magma is cooled above the ground.
B. Extrusive igneous rocks are formed when magma is cooled below the ground.
C. Both intrusive and extrusive igneous rocks are formed below the ground.