The correct option is A p - methylaniline > p - chloroaniline > p - aminoacetophenone
The methyl group is a strong electron releasing group. Hence, p - methylaniline is most basic.
Halogens and carbonyl groups are weakly deactivating or weak electron-withdrawing groups.
The order of the ability to withdraw electron density is carbonyl > halogen > alkyl.
The higher the ability of the substituent to withdraw electrons, lower is the basicity of amine.
Hence, the order of basicity is p - methylaniline > p - chloroaniline > p - aminoacetophenone.