Integration counter-examples : Witch's hat functions
What is this ?
The functions f_n are continuous, converge pointwise almost everywhere to 0 as n goes to infinity and their integral is constant, equal to 1. So you cannot swap lim and integral when calculating the limit of the integral of f_n.