The answer is C.
First, we arrange the given numbers in ascending order as,
3, 4, 4, 5, 6, 7, 7, 7 and 12.
Here, n = 9
Since n is odd, we use the formula for the median.
Now,
median=(n+12)th observation
=(9+12)th observation
=(102)th observation = 5th observation = 6
Hence, median of the given numbers is 6.