The domain of a function is the values that x can assume, while the range is the values that the function assume.
So, we are looking for the function with points that have x equal to -7, -3, 0, 4 and 12 and y values equal to -5, 1 and 2.
"A" only has x equal to -7 and and -5, and y equal to 12 and 2.
"B" has an x value of -4, which can't exist if the domain is the wanted one.
"D" has x value of -5, which eliminates the alternative for the same reason.
"C" is the correct answer because have all the x and y values and no other than x = {-7, -3, 0, 4, 12} and y = {-5, 1, 2}.
So "C" is the corect answer.