Let $f:\mathbb R \to \mathbb R$ be a continuous function in $0$ such that $$f(x+y)=f(x)+f(y) \quad\forall x,y\in \mathbb R$$ Prove that $f$ is continuous on $\mathbb R$.
I'm not asking for the proof because I know this question has already been asked in MSE. What I want is to verify whether my proof is right or wrong.
Clearly $f(0)=0$ and we have $$\lim_{y\to 0}f(x+y)=\lim_{y\to 0 }f(x)+f(y)$$ Note that $g(x)=f(x)+f(a) $ is indeed continuous in $0$ ($a$ here is constant). Hence $$\lim_{y\to 0}f(x+y)=\lim_{y\to 0 }f(x)+f(y)=f(x)$$ Now a small change of variable $u=x+y$ will transform this into $$\lim_{u\to x}f(u)=f(x) \quad \forall x \in \mathbb R$$ Am I right?