Two factors on which the heat absorbed or given out by a body depends are
Mass and specific heat capacity of the body
Temperature and specific heat capacity of the body
Mass and Temperature
Temperature and heat capacity of the body
The heat absorbed or given out by a body depends on the mass and specific heat capacity of the body.