The second compound will have a higher boiling point due to the hydrogen bonding.
Work Step by Step
Both the molecules have a similar molecular weight, thus the intermolecular bonding will affect the boiling point. The compound on the left will have a higher boiling point because of hydrogen bonding. The molecule has a O-H bond, due to which there will be hydrogen bonding between two molecules. This hydrogen bonding makes the intermolecular bond stronger and hence the boiling point will be higher. In the other molecule has only dipole-dipole interactions and London dispersion forces, not hydrogen bonding, hence it will have a lower boiling point compared to the one on the left.