Answer: B
The carbylamine test shows a primary amine. Diazotisation, CuCN and hydrolysis convert the amino group into a carboxylic acid group; oxidation of the remaining side chain methyl group to carboxyl gives terephthalic acid only if the two groups are para. So A is 4-methylaniline. Benzylamine, a primary aliphatic amine, would not give a diazonium salt, and N-methylaniline is secondary.