Let us understand the inter molecular forces in brief
a) hydrogen bond: it is an interaction between a highly electro-negative element (F,O or N) and a hydrogen attached to a highly electro-negative element (F,O or N)
b) Dipole dipole interaction : the interaction is present in a molecule where bonds are polar [due to electro-negativity difference between bonded atoms]
c) Dispersion forces: these are weakest inter-molecular forces present between any two atoms due to development of temporary dipoles.
this is present in all molecules
In water or
: Hydrogen bonding, dipole–dipole, and dispersion
Where hydrogen is attached to oxygen and can form hydrogen bond
In CO and CH3Cl: Dipole–dipole and dispersion only
In case of methane: there is no polar bond, no highly electronegative element so they have only Dispersion forces