Answer:
The answer is option B.
Explanation:
A rule that uniquely associates elements of one set A with the elements of another set B and each element in set A maps to only one element in set B.
Each element from X is related to only one element in Y. But it is okay for two different elements in X to be related to the same element in Y. So its still a function. Let suppose
{ (1,a) , (2, b) , (2, c) , (3, d) }
This relation is not a function from X to Y because the element 2 in X is related to two different elements, b and c.