The answer is the third one aka C.
There must not be two points on the same y-axis because that doesn't make a function but a relation instead.
C. doesn't have 2 points on same y-axis and therefore the third picture is the relation that's a function.