I had few doubt about continuity of composite functions and I made a few observation about those
$1)$ if $\lim_{x \to c}f(x) = b $ and $g$ is continuous at $b$ then $\lim_{x \to c } g\circ f =g(b)$
$2)$ Given that $(g \circ f)(x) $ is continuous everywhere then $g$ is continuous at every point where $f(x)$ is defined, and coming to $f(x)$ it may be not may be continuous but it has two sided limits in its interior points.
$3)$ Given $f(x)$ is continuous at point $c$ and $g(x)$ is everywhere then concluding $g\circ f $ is continuous at every point is incorrect but at least we can say, it is continuous at $c$.
correct me if I was wrong at any point.