(d) : In this compound, the nonbonding electron pair of nitrogen does not take part in resonance. In other three compounds, the nonbonding electron pair of nitrogen is delocalized into benzene ring by resonance, as a result the electron density on the N atom decreases, due to which basicity decreases.