Step 1: Sort the four products by oxidation or reduction:
Gluconic acid, saccharic acid and hexanoic acid all contain a -COOH group, so they are acids. Gluconic and saccharic acid are oxidation products of glucose. n-Hexane has no oxygen at all, so it is a full reduction product.
Step 2: Decide what the reagent is:
HI is easily oxidised to $\mathrm{I_2}$, which makes it a reducing agent. So the product has to be the reduction product. Only n-hexane fits.
Step 3: Write the reaction:
Every -OH group and the -CHO group of glucose loses its oxygen as water:
$\mathrm{C_6H_{12}O_6 + 14HI \to C_6H_{14} + 6H_2O + 7I_2}$
Check the balance: carbon 6 = 6, oxygen 6 = 6, hydrogen 12 + 14 = 26 = 14 + 12, iodine 14 = 14.
Step 4: Why each wrong option fails:
Gluconic acid: needs a mild oxidising agent such as bromine water. HI is not one.
Saccharic acid: needs a strong oxidising agent such as concentrated nitric acid, which oxidises both ends of the chain.
Hexanoic acid: it keeps an oxygen-rich group (-COOH), but HI removes oxygen, so this cannot form.
The reasoning is simple: HI is a reducing agent, so the product has the least oxygen, which is the alkane.
Final Answer:
n-Hexane, option (B).