Let $f(x)=x^2$ and $g(x)=\sin x$ for all $x \in R$. Then the set of all $x$ satisfying $(f \circ g \circ g \circ f)(x)=(g \circ g \circ f)(x)$, wheng $(f \circ g)(x)=f(g(x))$, is
$(\mathrm{A}) \pm \sqrt{n \pi}, n \in\{0,1,2, \ldots\}$
(B) $\pm \sqrt{n \pi}, n \in\{1,2, \ldots\}$
(C) $\frac{\pi}{2}+2 n \pi . n \in\{\ldots . .-2,-1,0,1,2, \ldots\}$
(D) $2 n \pi, n \in\{\ldots,-2,-1,0,1,2, \ldots\}$