Step 1: Understanding the Question:
Effervescence (bubbling) with sodium bicarbonate solution means that carbon dioxide gas is being released. Sodium bicarbonate, \( \mathrm{NaHCO_3} \), gives off \( \mathrm{CO_2} \) only when it meets an acid stronger than carbonic acid.
Step 2: Key Approach:
Carboxylic acids (\( \mathrm{pK_a} \) about 4 to 5) are stronger than carbonic acid (\( \mathrm{pK_{a1}} \) about 6.4). So a carboxylic acid pushes carbonic acid out of the bicarbonate, and carbonic acid breaks down into water and \( \mathrm{CO_2} \). Alcohols and phenols are weaker acids than carbonic acid and do not react.
Step 3: Write the reaction:
For acetic acid (ethanoic acid), the reaction is:
\[ \mathrm{CH_3COOH + NaHCO_3 \rightarrow CH_3COONa + H_2O + CO_2 \uparrow} \]
The gas \( \mathrm{CO_2} \) comes out as bubbles. This is the standard test for a carboxylic acid.
Step 4: Why the other options are wrong:
Alkanes and alkenes are neutral hydrocarbons with no acidic hydrogen, so they do not react with \( \mathrm{NaHCO_3} \).
Ethyl alcohol, \( \mathrm{C_2H_5OH} \), is a very weak acid (\( \mathrm{pK_a} \) about 16), much weaker than carbonic acid, so it gives no bubbles.
Final Answer:
The compound is acetic acid, option (C).
\[ \boxed{\text{Acetic acid}} \]