Let $f:X \to Y$ be a function such that it is differentiable on the interval $[x ,y] \subseteq X (x < y).$ If $a \in (x , y)$ and if $\lim\limits_{z \to a^+}f'(z)$ and $\lim\limits_{z \to a^-}f'(z)$ both exists, then $f'$ is continuous at $a$.
I tried using Darboux's Theorem and the property of limit but was not able to bring a complete proof. Is there any hints to tackle this?