This problem is in Stein.
In $L^p$, $1\leq p<\infty$ on $\mathbb{R}^d$ with Lebesgue measure.
(a) Continuous function with compact support are dense in $L^p$.
I have already proves this :)
(b) Infinitely differentiable functions with compact support are dense in $L^p$.
How proves (b)? I read that this hard...