(i) Show that every function $f: \mathbf{R} \rightarrow \mathbf{R}$ of bounded variation is bounded, and that the limits $\lim _{x \rightarrow+\infty} f(x)$ and $\lim _{x \rightarrow-\infty} f(x)$, are well-defined.
(ii) Give a counterexample of a bounded, continuous, compactly supported function $f$ that is not of bounded variation.