इस कोड का आउटपुट क्या होगा?
What will be the output of this code?
a = 5
b = 1
c = 1 ^ 5
print(c)
A
3
B
5
C
8
D
6
Explanation
1 ^ 5 = 6 # Bitwise XOR
Because:
1 = 0001
5 = 0101
------------
XOR = 0110 → 6
✅ Output: 6
Correct Answer: D) 6