I'm reading Baire's Category theory recently. One can find the following theorem in Chapter 4 of Stein's Functional Analysis:
"Suppose that $\{f_n\}$ is a sequence of continuous complex-valued functions on a complete metric space $X$, and $\{f_n\}$ convergent to $f$ pointwise for each $x\in X$.
$$\lim_{n\rightarrow+\infty}f_n(x)=f(x)$$
Then, the set of points where $f$ is continuous is a generic set in $X$. In other words, the set of points where $f$ is discontinuous is of the first category."
This theorem tells us that the possibly largest set of discontinuous points of a function obtained by pointwise convergence of a series of continous functions is of the first category. Then, a nature question is, (1) given a function $f$ defined on a complete metric space, say $[0,1]$, which is discontinuous on a first category set, is there a series of continous functions pointwise convergent to $f$?
In particular, the Riemann function is discontinuous on the set of rational number $Q\cap[0,1] $, a first category set. (2) Is there a sequence of continous function pointwise convergent to Riemann function?
Added: Questions for this post has been completely solved. For question (1), see David Mitra's comment, for a construction proof of question (2), see answer by John.