This question was asked in Ex 1.3 , 6
How to check onto function

Ashwani Kumar's image