Prob. 1, Sec. 29, in Munkres' TOPOLOGY, 2nd ed: The subspace $\mathbb{Q}$ of $\mathbb{R}$ is not locally compact
Your proof is both correct and clear.
I think that a simpler approach would consist in proving that there are sequences of elements of $C$ without convergent subsequences. That is easy, of course: you just take a sequence of elements of $C$ which converges (in $\mathbb R$) to an irrational number.