Answer: the inner core is hotter.
Explanation:
The temperature reduces as we move outward towards the crust.