The truth table of NAND gate is as given below:
When the two inputs of a NAND gates are joined as shown in Figure i.e. when A = B = 0 or A = B = 1, the above truth table of the NAND gate reduces to the one as given below:
It is the truth table of a NOT gate. There operation of a NOT gate.