Multiple choice technology programming languages

Which of the following is EXCLUSIVE OR operator?

  1. &|

  2. |&

  3. ||

  4. &&

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In REXX, && is the exclusive OR (XOR) operator for logical operations. It returns true only when exactly one operand is true. The other options are different operators: & and &| are AND variants, | is OR, and || is concatenation. The double ampersand && specifically implements XOR logic in REXX.