Question PSC-BIT-0080
HardWhat will be printed by the following pseudocode?
Integer n = 22
Print n & 1, (n >> 1) & 1, (n >> 2) & 1, (n >> 3) & 1, (n >> 4) & 1
- A.
0 1 1 0 0
- B.
0 1 1 0 1
- C.
Sign up free to see the answer and a step-by-step explanation.