Answer:
The correct option is D.
Explanation:
The given functions are


Both functions are polynomial and the domain of any polynomial is the set of all real numbers.





The domain of
is all real number except x=1, because at x=1, g(x)=0.
Therefore option D is correct.