The ordered pairs (1,1) (2,4) (3,9)(4,16) (5, 25) represent a function. What is the rule that represents this function? (Will mark brainliest)

A. y= x+2
B. y= 2x
C. y= x^2
D. y=2^x