The correct option is B CH2=CH−CH=O
Resonance is the delocalisation of electrons in a conjugated system.
Conjugated system is a system having alternative sigma and pi Bonds, example: Benzene.
In option (a), (c) and (d), there is no resonance as there are no alternate single and double bonds. So, the correct answer will be option (b) as there is presence of alternate single and double bond.