Let $C$ be closed set in $\Bbb R$ and let $f:C\to \Bbb R$ be continuous.
Show that there is a continuous function $g:\Bbb R\to \Bbb R$ with $g(x)=f(x)$ for every $x\in C$.
I am unable to view how to construct $g$ from $f$.
Please give some hints.
Let $C$ be closed set in $\Bbb R$ and let $f:C\to \Bbb R$ be continuous.
Show that there is a continuous function $g:\Bbb R\to \Bbb R$ with $g(x)=f(x)$ for every $x\in C$.
I am unable to view how to construct $g$ from $f$.
Please give some hints.