On a graph, what kind of asymptotes does a rational function have?

A. at least three
B. infinite
C. horizontal and vertical
D. zero

C. horizontal and vertical