Step-by-step explanation:
Similarity between the two:
Molecular formula and structural formula gives the exact number of atoms of different chemical elements that are present in a compound.
Difference between the two:
Structural formula gives us the relative positions of the atoms that are present in a compound whereas molecular formula does not give us the relative positions of the atoms. But it gives us the ratio of atoms in a given compound.