If \[\theta \] is the angle between any two vectors \[\overrightarrow{a}\] and \[\overrightarrow{b}\], then \[\left| \overrightarrow{a}.\overrightarrow{b} \right|=\left| \overrightarrow{a}\times \overrightarrow{b} \right|\] when \[\theta \] is equal to (A) \[0\] (B) \[\frac{\pi }{4}\] (C) \[\frac{\pi }{2}\] (D) \[\pi \]