Step 1: Understanding the Concept:
Hydroxylamine (\(NH_2OH\)) reacts with carbonyl compounds, aldehydes and ketones, to give oximes.
Step 2: Apply to glucose:
Glucose reacts with hydroxylamine to form glucose oxime. This shows that there is a carbonyl group, here an aldehyde group at C1, in glucose.
Step 3: Check the options:
Straight six-carbon chain is shown by reduction with HI. A primary alcohol and secondary alcohols are shown by acetylation or reaction with acid anhydrides. So (B) is correct.
Final Answer:
Reaction with hydroxylamine proves a carbonyl group.
\[ \boxed{B:\ \text{Carbonyl group}} \]