The correct option is B (45)n
The last digit of the product will be 1,2,3,4,6,7,8 or 9 if and only if each of the n positive integers ends in any one of these digits.
The probability of it is 810=45
Therefore, the probability that the last gigit of the product of n integers is 1,2,3,4,6,7,8 or 9 is (45)n