The relative strength of intermolecular forces such as ionic, hydrogen bonding, dipole-dipole interaction and Vander Waals dispersion force affects the boiling point of a compound. For this case, the longer the chain the higher the boiling point.
CH, CH4, C4H10, C8H18, C16H34
Hope this answers the question. Have a nice day.