Identify the correct statement about an ideal gas contained at a fixed volume when its temperature is increased on heating?