Step 1: Break the name.
The word undecane is made of un, meaning one, and decane, meaning ten.
Step 2: Add them.
One plus ten gives eleven carbons.
Step 3: State it.
So undecane is $C_{11}H_{24}$ with 11 carbon atoms.
\[ \boxed{11,\ \text{option 2}} \]