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

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

C. horizontal and vertical