The general formula for alcohol is:
CnH2n+1OH
CnH2n–1OH
The general formula of an alkane is CnH2n+2. A −OH group replaces one of the hydrogens so the number of hydrogens and (-OH) is 2n+1 and 1. I.e. CnH2n+1OH is one of the general formulae.
Options A and D have 2n+2 and 2n+4 hydrogens which are more than 2n+2 (an alkyne can have). I.e. such compounds do not exist.
The general formula of an alkene is CnH2n. A −OH group replaces one of the hydrogens so the number of hydrogens and (-OH) is 2n-1 and 1. I.e. CnH2n−1OH is also a possibility of the general formulae.