The correct option is B III > I > II > IV
When a double bond involve in delocalisation of electrons, they will attain more single bond character. Thus, the double bond involve in delocalisation will have larger bond length compare to the isolated double bond.
In given compounds, compound (I) and (II) shows resonance effect whereas (II) and (IV) shows hyperconjugation effect. Since resonance effect is prior to hyperconjugation,
compound (1) and (III) has larger bond length compare to (II) and (IV).
In (III), 3 double bonds are involved in resonance while in (II) two double bonds are involved so the bond length of (III) is the largest one. Also (III) is involved in cyclic resonance which make it more stable.
Comparing (II) and (IV), II has larger bond length than (IV) because it has more α− Hydrogen.
Thus, the decreasing order of bond length of C=C bond in the following compounds is,
III > I > II > IV