Compactness of $C([0,1])$
The sequence $f_n(x)=x^n$ does not have a convergent subsequence since $f_n$ converges pointwise towards $f(x)=0$ if $x\neq 1$ and $f(1)=1$ which is not continuous. Hence, the space is not compact.
The sequence $f_n(x)=x^n$ does not have a convergent subsequence since $f_n$ converges pointwise towards $f(x)=0$ if $x\neq 1$ and $f(1)=1$ which is not continuous. Hence, the space is not compact.