Which of the following gates do not give output 1 when both inputs are 0?
A. NAND gate
B. NOR gate
C. XOR gate
D. XNOR gate
🎥 Video solution / Text Solution of this question is given below:
Step-by-step explanation:
a = 12, b = 2
a = a + b → a = 14
b = a / b → b = 7
a = a * b → a = 98
b = a - b → b = 91
→ c = 91
Hence, -(*i) = -91
Output: 91 (negative of c printed as -(-91) → 91)