Sedimentary rocks are formed due to the

a. cooling of magma
b. weathering of rocks
c. changes in pressure
d. changes in temperature