Which of the following subsets of w are linear subspaces of C[0,1] where C[0,1] is the space of functions on the real interval [0,1]? Justify your answer.
1)W={f∈C[0,1]|f(0)=f(1)}
2)W={f∈C[0,1]|f(0)=0 and f(1)=0}
3)W={f∈C[0,1]|f(0)=0 or f(1)=0}
4)W={f∈C[0,1]|f is non decreasing}