see
lets take n=3
then accroding to statment 1 we have 3*3 matrix in which we have 9 entries no of such matrix 3^9
and statment2 {0,1,2,3,4,5,6,7,8} fxn {0,1,2} no of fxn possible 3^9
so cardinilaties same there may exist bijection and surjection both
B,C