I am interested in the following question. Suppose $f: [0,1] \rightarrow [0,1]$ is a function (which may not be continuous).
Question When is $f$ the point-wise limit of a sequence of continuous functions? Is there a characterization of such functions within all functions?
For example, consider $f:[0,1] \rightarrow [0,1]$ which has $f(x) = 0$ if $x$ is rational and $f(x) = 1$ when $x$ is irrational. Can $f$ be point-wise approximated by a sequence of continuous functions?