Last Updated : 20 Nov, 2018

What happens when a bit-string is XORed with itself n-times as shown:

[ B⊕ (B⊕ (B⊕ (B…….. n times) ]

 
(A) complements when n is even
(B) complements when n is odd
(C) divides by 2^n always
(D) remains unchanged when n is even


Answer: (D)

Explanation:

Quiz of this Question


Share your thoughts in the comments