I got a problem with this theorem:
Theorem: Let $f:\;(a,b)\rightarrow\mathbb{R}$ be a continuous function. Suppose $c\in(a,b)$ is such that f is differentiable in $(a,c)$and in $(c,b)$ and $\lim_{x\rightarrow c}f'(x)=L$. Prove $f$ is differentiable in $c$ and $f'(c)=L$
Proof:
$$\lim_{x\rightarrow c}\frac{f(x)-f(c)}{x-c}=\lim_{x\rightarrow c}\frac{f(c)-f(x)}{c-x}=\lim_{x\rightarrow c}f'(x)=L$$ Then $f'(c)$ exists and $f'(c)=L$
Is my proof fine?