J.R. S. answered 07/22/21
Ph.D. University Professor with 10+ years Tutoring Experience
You need to know the structure of each compound in order to see the hybridization of the carbon atom(s).
Cl2CO has C=O with 2 Cl atoms attached to the C atom. The C atom is 2p2 hybridized
CO has C≡O with a lone pair of electrons on both the C and O atoms. The C atom is sp hybridized
CS2 is S=C=S so the C atom is sp hybridized
CH2Cl2 has 2 H atoms and 2 Cl atoms attached to the central C atom. The C atom is sp3 hybridized
HCN is H-C≡N. The C atom is sp hybridized