My (likely flawed) argument is that a continuous function (wrt to the subspace topology: IMPORTANT premise) from $C \setminus \{x\}$ to a discrete set (say $\{0,1\}$) is constant, if it were not then by adding x again we would find a continuous function from $C$ to $\mathbb{N}$ wich is not constant.
My guess that MAYBE not all continuous function on $C \setminus \{x\}$ to $\{0,1\}$ could be extended to a continuous function on $C$. Is it so?