# Real analysis homework help

Define f:R $\rightarrow$ R by f(x)=x if x is rational and f(x)=0 if x is irrational. Prove that f has a limit at c iff c=0.