Support is defined as the closure of $\{x:f(x)\neq 0\}$. Now consider $f(x)=\frac{1}{x}\chi_{(0,1)}$. So the support is $[0,1]$ which is compact. However, any continuous function with compact support is uniformly continuous. $f(x)$ is continuous on $(0,1)$ but it is not uniformly continuous.
I am confused. Could anyone explain where I made a mistake.
It is not continuous. As surprising as it may seem.
What is the value of $f(0)$?
$f(0)$ is well defined. $f(0) =0$ as $0$ is outside of $(0,1)$.
But what is $ \displaystyle \lim_{x \to 0^+} f(x) $ ?