The simplest two-input one-output circuit that can optionally invert a signal is:

a) NAND gate
b) XOR gate
c) OR gate
d) Inverter