Question 0When does the output of a NAND gate =1?A.whenever a 0 is present at an inputB.only when all input =0C.whenever 1 is present at an inputD.only when all input =1E.Objective Show full explanation