Counterexample to second derivative test when f''(x) is not continuously differentiable
Solution 1:
As pointed out in the comments, the fact that $f'(c)=0$ is enough; the continuity of the second derivative is not required for a single variable case.