Using the standard cell potential we can find the standard cell potential for a voltaic cell as follows:
The most positive potential is the potential that will be more easily reduced. The other reaction will be the oxidized one. That means for the reactions:
An exothermic process releases heat, causing the temperature of the immediate surroundings to rise. An endothermic process absorbs heat and cools the surroundings.