Question PSC-FUNC-0042
MediumWhat is the output of this pseudocode?
Function g(Integer a, Integer b)
if (b == 0)
return 1
end if
return a * g(a, b - 1)
End Function
Print g(3, 4)
- A.
12
- B.
81
- C.
Sign up free to see the answer and a step-by-step explanation.