Let $X$ be a metric space, $f_n: X \to X$, $g_n: X \to X$,
$f_n(x) \to f(x)$, $g_n(x) \to g(x)$ ($n \to \infty$).
Is $f_n(g_n(x)) \to f(g(x))$ ?
Here: 1) pointwise convergence;
2) uniform convergence.
So, there are 2 cases in my question.
In the first case $f_n \to f$ and $g_n \to g$ pointwise.
In the second case $f_n \to f$ and $g_n \to g$ uniformly.
Thank you very much!