The greatest value of sin x + cos x is:
\( \frac{1}{4} \)
1
\(\sqrt{2}\)
\(\frac{1}{\sqrt{2}}\)
C. \(\sqrt{2}\)