How are sedimentary rock layers formed?

Answer options with 4 options
A.
Magma cools slowly underneath the ground producing layered rocks.

B.
Heat and pressure changes minerals in the rock to form the rock layers.

C.
Wind and water transport and deposit rock particles that settle into layers.

D.
Volcanic activity produces rock layers when new lava flows over older rock.

C. Wind and water transport and deposit rock particles that settle into layers.