In structure (a) lone pair of nitrogen is not involved in resonance as well as it has less s-character than the nitrogen of pyridine, hence, the former is better electron donor.
Get Instant Solutions
When in doubt download our app. Now available Google Play Store- Doubts App