Let $f:\Bbb R \to\Bbb R$ be defined by setting $f(x) = \sin x$ if $x$ is rational, and $f(x) = 0$ otherwise. At what points is $f$ continuous?
is this true?
Let $c$ be irrational. Then there exists a sequence of rational numbers $x_n$ such that $\lim x_n=c$. Then $f(x_n)=\sin x_n$, $\lim f(x_n)=\sin c$. However $f(c)=0$. Thus $f$ is discontinuous at $c$.