Let $f$ belong to $ C^{\infty}[0,1]$ and for each $x \in [0,1]$ there exists $n \in \mathbb{N}$ so that $f^{(n)}(x)=0$. Prove that $f$ is a polynomial in $[0,1]$.
I am trying to use Baire Category Theorem , but cannot perfectly complete the proof .
Thanks for any help.