Question PSC-BIT-0050
MediumWhat will be printed by the following pseudocode?
Integer a[5] = {6, 3, 6, 9, 3}
Integer r = 0, i
for (each i from 0 to 4)
r = r ^ a[i]
end for
Print r
- A.
6
- B.
27
- C.
Sign up free to see the answer and a step-by-step explanation.