My textbook defines $p = f'(a^{+})$ and $q= f'({a^-})$, and says;
(I) p=q =>f is differentiable at x = a => f is continuous at x = a
(II)p$\ne$q => f is not differentiable at x = a, but f is continuous at x=a.
How does the second one work out? It needn't be continuous, right?