what is the effect of temperature on molarity over molality?
As we know that,
Molarity = Number of moles of solute/volume of solution in litres
Molality = Number of moles of solute / Mass of the solvent in kg
And we know that temperature affects the volume of solution. Because with increase in temperature, volume of solution also increases. But temperature has no effect on mass. So with change in temperature, molarity also changes. But there is no effect of temperature on molality.
For example, with increase in temperature, volume will increase and then molarity will decreases.