Mark the tick against the correct answer in the following: The value of \tan ^{-1}\left(\tan \frac{3 \pi}{4}\right) is
A. \frac{3 \pi}{4}
B. \frac{\pi}{4}
C. \frac{-\pi}{4}
D. none of these