What is the output of an XOR gate when both inputs are the same?

Options

  • B. 1
  • C. Undefined
  • D. More than one of the above
  • E. None of the above

Detailed Explanation

Explanation: XOR produces output 1 when inputs are different and 0 when inputs are the same. Truth table: 00 → 0, 01 → 1, 10 → 1, 11 → 0.