The correct option is B (a)>(c)>(d)>(b)
Structure (a) has the maximum number of covalent bonds and least number of charges , so it is the most stable.
Among (b),(c),(d) since all of them have positive charges on nitrogen, on comparing oxygen and carbon.
Structure (c) has two negative charges on electronegative atom oxygen, so it is more stable than (b) & (d).
Between, (b),(d) like charges are closer to each other in (b) as compared to (d).
So (b) is the least stable structure.
Correct order is :
(a)>(c)>(d)>(b)