Function g is represented by the table.
x -1 0 1 2 3
g(x) 24 4 0 -4/5 -22/25
Which statement correctly compares the two functions?
A.
They have the same x- and y-intercepts.
B.
They have different x- and y-intercepts but the same end behavior as x approaches ∞.
C.
They have the same y-intercept and the same end behavior as x approaches ∞.
D.
They have the same x-intercept and the same end behavior as x approaches ∞.