In the following reaction,

the structure of the major product 'X' is
Key idea: In benzanilide, , the ring on nitrogen is activated (the N lone pair donates into it, an o/p director). The ring on the carbonyl is deactivated, here doubly so by C=O and .
Option (B) is the only one with the new nitro group para on the N-attached ring. (A) is the unchanged reactant, (C) nitrates the acyl ring, and (D) puts the nitro group meta on the N-ring.
Answer: (B)
Tagged Benzene and aromatic hydrocarbons: structure and preparation. Machine-assigned, so read it as a strong shortlist rather than a verdict.