Let $\lbrace f_n\rbrace$ and $\lbrace g_n\rbrace $ be two sequences of real-valued continuous functions on a compact subset of $\mathbb{R}$ such that they converge pointwise to $f$ and $g$ respectively, where $f$ and $g$ are continuous functions on $\mathbb{R}$. Then what can we say about the composite function $f_n \circ g_n$. Can we say that it will converge to $f\circ g$.
A similar question is asked here Convergence of composition of functions sequences. But here the continuity of functions $f$ and $g$ was not given. Please at least give me some hint to solve this.