Question PSC-BIT-0065
HardWhat does the following pseudocode print?
Integer x = 6
Integer y = x & (-x)
Integer z = x | (x + 1)
Integer w = x ^ (x >> 1)
Print y, z, w
- A.
6 7 5
- B.
2 7 3
- C.
Sign up free to see the answer and a step-by-step explanation.