The correct option is B CnH2n+2
Alkanes are carbon chain compounds which has only single bonds in them. Its general formula is CnH2n+2. Since only single bonds are present, every carbon will be either attached to another carbon atom and 3 hydrogen atoms or two carbon atoms and 2 hydrogen atoms.