I was looking at this question Continuity of rational functions between affine algebraic sets, and in one of the comments it is stated "The fact that a[n] [exp]licit quotient of continuous functions is continuous and that, as you write, a f[u]nction with continuous components is continuous are purely general properties of continuous functions and are are not proper to the Zariski topology."
This comment got me wondering. Suppose I have two continuous functions $f,g: X \rightarrow Y$, $X,Y$ are some topological spaces (say subset of $k^n$ and $k^m$ respectively where $k$ is a field). Suppose that $f/g$ makes is well defined on some open subset $U$. Then is it always continuous on $U$? (and how I can prove that?)