The correct answer is A. NAND.
A NAND gate is a logic gate that produces a logic 0 output only when all of its inputs are logic 1. It is the inverse of an AND gate, which produces a logic 1 output only when all of its inputs are logic 1.
A NOR gate is a logic gate that produces a logic 0 output only when all of its inputs are logic 0. It is the inverse of an OR gate, which produces a logic 1 output only when one or more of its inputs are logic 1.
An XOR gate is a logic gate that produces a logic 1 output only when its inputs are different.
An OR gate is a logic gate that produces a logic 1 output when one or more of its inputs are logic 1.
Therefore, the logic function produced by adding an inverter to the output of an AND gate is a NAND gate.