Question PSC-BIT-0076
HardWhat will be the output of the following pseudocode?
Integer n = 200
Integer c = 0
while ((n & 1) == 0)
n = n >> 1
c = c + 1
end while
Print c, n
- A.
4 12
- B.
3 50
- C.
2 50
- D.
3 25
Sign up free to see the answer and a step-by-step explanation.