I am wondering the following:
Let $M$ be a smooth manifold and let $U \subset M$ be an open subset. Is every map $f \in C(U)$, where $C(U)$ is the $\mathbb{R}$-vector space of smooth functions $g:U \rightarrow \mathbb R$, a restriction of a map $g \in C(M)$? Is this trivial to see or do I just want to prove something wrong?
Thanks!