Option (D) is correct.
Explanation: Carbon is tetravalent, so four carbon atoms have 4×4=16 valencies in all. To hold four carbon atoms together in one molecule, at least 3 carbon–carbon bonds are needed (an open chain of four), and each C–C bond uses 2 valencies, one from each carbon: 3×2=6 valencies. That leaves at most 16−6=10 valencies for hydrogen atoms, each of which uses one.
So a hydrocarbon with four carbons can have at most 10 hydrogen atoms: C4H10, the alkane, which fits CnH2n+2. C4H12 would need 12 hydrogens, two more than the carbon valencies allow, so no such compound can exist. Every extra C–C bond (a ring or a multiple bond) uses up two more valencies and lowers the hydrogen count by 2.
Option (A) is wrong: C4H10 is butane, the saturated hydrocarbon with the maximum number of hydrogens for four carbons.
Option (B) is wrong: C4H6 uses 4 more valencies in C–C bonding than butane, for example one triple bond (CnH2n−2, an alkyne), so it can exist.
Option (C) is wrong: C4H8 fits CnH2n; it can have one double bond (an alkene) or a ring of four carbons, so it can exist.

Both C4H10 skeletons: with every carbon bond single, four carbons can carry at most ten hydrogen atoms.