The correct order of electron affinity is
N < Be < C < B
We know
EA α
1Atomic Radius
Here, Be > B > C > N [Atomic Radius]
Therefore it should be
N > C > B > Be
But N has half filled p− orbitals which make it very stable. So, N does not want to take an electron easily.
Therefore, its electron affinity becomes less than B and C.
So, the correct order will be
Be < N < B < C