Which of the following relation is/are function/s?
A.the rule which assigns each person a surname
B. the rule which assigns a pen and the color of it's ink
C.the rule which assigns the name of teachers you have
D. the rule which assigns to each person the name of his brother