We know,
H = U + PV
Differentiating the above equation with respect to temperature at constant pressure we get,
Thus heat capacity at constant pressure (CP) is defined as the rate of change of enthalpy with respect to temperature at constant pressure.