When both the input signals A and B of the NOR & NAND gate are connected together, The output of the resultant circuit w
Connecting inputs together makes NOR as NOT gate, NAND as NOT gate.
Ref: NCERT Physics Class 12 Chapter 14 Semiconductor Electronics