Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. Which of the following represents the bitwise XOR operator?
  2. A.
    &
    B.
    ^
    C.
    |
    D.
    !

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The ^ operator represent bitwise XOR operation. &: bitwise AND, | : bitwise OR and ! represents bitwise NOT.


Be The First To Comment