Dipole-dipole forces are attractive forces between the positive end of one polar molecule and the negative end of another polar molecule.
Remember that hydrocarbons usually have van der Waals forces because they form covalent structures, so CH4 isn't contained dipole-dipole forces.
You can see that O3 and F2 represent one element but with various atoms of the same element, so there are no differences between the charges.
But, HF has strong dipole-dipole forces because H has a positive charge (+1) and F has a negative charge (-1). You can see these charges seeing the valence in the periodic table, so the answer is C.