Q.

If A = {a, b, c} and B = {4, 5, 6}, then number of functions from A to B is:

1 9  
2 27  
3 18  
4 81  

Ans.

(2)

Ans.    27

Explanation:

Here,  A={a,b,c}  and  B={4,5,6}

∴   n(A)=3  and  n(B)=3

So, number of functions from A to B =33=3×3×3=27