Step 1: Product rule idea
At $x=\pi/4$ only $\cos2x$ vanishes, so only the term where $\cos2x$ is differentiated survives.
Step 2: Evaluate
That term is $\cos x\cdot(-2\sin2x)\cdot\cos4x\cos8x\cos16x$. At $\pi/4$: $\frac{1}{\sqrt2}\cdot(-2)(1)\cdot(-1)(1)(1)=\sqrt2$. ($\cos\pi=-1$, $\cos2\pi=1$, $\cos4\pi=1$.) Option (C).
Final Answer:
The derivative is $\sqrt2$, option (C).
\[ \boxed{\sqrt2} \]