Stucture i is pyrrole which is a aromatic heterocyclic compound the lone pair of electron of N in this structure is also envolved in delocalization so it is least basic.
Structure ii pyridine but the lone pair is not the part of delocalization so , lone pair of electgron is available for donation so most basic.
structure iii is aniline in which the lone pair is again in delocalization with the benzene ring but more basic that struture i.
so thhe order of basic character is - ii> iii > i
According to this option A is incorrect.