Let $h$ be the indicator function of the rationals. This is of Baire class 2, i.e. it is not the pointwise limit of a sequence of continuous functions, but it is the pointwise limit of a sequence of pointwise limits of continuous functions.