Question PSC-BIT-0070
HardWhat does the following pseudocode print?
Integer n = 100, p = 1
while (p < n)
p = p << 1
end while
Print p, p >> 1
- A.
256 128
- B.
64 32
- C.
128 64
- D.
100 50
Sign up free to see the answer and a step-by-step explanation.