If shell fragments are found in a rock sample, it is most likely that the rock formed ___________.

a)
on a mountain slope

b)
on a glacier

c)
from magma

d)
in shallow water