How many numbers of five digits can be formed by using 1, 2, 3, 4, 5, if 4 is necessarily taken at hundred's
place and 2 is not allowed at unit's place. Repetition of numbers is not allowed.
4 is necessarily taken at hundred's place and 2 is not allowed at unit's place,
hence number of methods = 1*3*3*2*1 = 18
You can also check the answer by making different numbers under given conditions.