Give an example of a sequence of functions $f_n \in C(X)$ (where $X$ is a compact metric space), and a function $f \in C(X)$ such that $f_n \rightarrow f$ pointwise, but not uniformly.
I am having trouble with the condition that $f_n$ and $f$ are in $C(X)$, so I assume they both need to be continuous?