Let A = {1, 2, 3} and B = {2, 3, 4}, then which of the following is a function from A to B ?
A. {(1, 2), (1, 3), (2, 3), (3, 3)}
B. {(1, 3), (2, 4)}
C. {(1, 3), (2, 3), (3,3)}
D. {(1, 2), (2, 3), (3,4), (3, 2)}