Answer is B.370

I have solved it in this way....

A number will be divisible by 4 if the number formed by its last two digit is divisible by 4.

And in this way we have its last two digit as ...

04,12,16,20,24,32,36,40,52,56,60,64,72,76 {Four of these includes 0 and remaining ten are without 0}

( I didnt include 44 as repetition is not allowed and others as digit should be less than 8)

Now consider the case when any of the last two digit is 0. we can get 6*5 = 30 different numbers

so total formed number where any of the last two digit is 0 = 4*30=120

Now consider the case when none of the last two digit is 0 = 5 * 5 =25 (because 1000s place cant be filled by 0 or else it will be a three digit number)

so total formed number when none of the last two digit is 0 = 10 * 25 =250

Hence required answer is 250+120 =170.

_________________

Consider KUDOS if You find it good