Limit of derivative is zero. Does it imply a limit for f(x)? [duplicate]

Solution 1:

For a counterexample, consider $f(x)=\sin(\sqrt{x})$.