IUPAC name of ‘B’ is
N, N – dimethylphenylmethanamine
N, N – dimethylbenzeneamine
N,N – dimethylbenzylamine
N,N –dimethylphenylamine