Following diagram performs the logic function of-
(A) AND gate
(B) NAND gate
(C) OR gate
(D) XOR gate
Correct option -