Select the correct statement:
(a) Temperature is a measure of the total internal energy contained in a body.
(b) Heat flows between two bodies until their total energies become equal, irrespective of their temperatures.
(c) Temperature tells us the direction in which heat will flow when two bodies are in contact.
(d) The SI unit of both heat and temperature is the joule because each represents energy.