Let $f:A\to B,\ g:B\to A$ be defined as $f(x)=x^{2}\ \forall x\in A$ and $g(x)=x^{1/2}\ \forall x\in B$. $f(x)$ and $g(x)$ are inverse functions to each other when
- A
$A=B=\mathbb{R}$
- B
$A=\mathbb{R}\setminus\mathbb{R}^{-};\ B=\mathbb{R}\setminus\mathbb{R}^{+}$
- C
$A=\mathbb{R};\ B=\mathbb{R}\setminus\mathbb{R}^{-}$
- D
$A=B=\mathbb{R}\setminus\mathbb{R}^{-}$