The magnetic field of Earth is thought to originate in which of the following layers?
a. crust
b. inner core
c. outer core
d. mantle