When a solid melts
a. the temperature of the substance increases.
b. the temperature of the substance decreases.
c. heat energy leaves the substance.
d. heat energy enters the substance.?