Question PSC-FUNC-0046
MediumWhat is the output of this pseudocode?
Function bin(Integer n)
if (n == 0)
return ""
end if
return bin(n / 2) + (n mod 2)
End Function
Print bin(19)
- A.
11001
- B.
19
- C.
Sign up free to see the answer and a step-by-step explanation.