The statement is stated by our teacher as follows :
Suppose $$\lim_{x\rightarrow x_{0}}f'(x)=a\in{\mathbb R} $$ then $$f'(x_{0})=a$$
, here we do not assume $f'(x)$ is continuous at $x_{0}~.$ The statement is so strange to me . But our teacher claims that this exercise can be found in the text book of Apostol