Question PSC-FUNC-0021
EasyWhat will be the output of the following pseudocode?
Function square(Integer n)
return n * n
End Function
Print square(3) + square(4)
- A.
7
- B.
25
- C.
Show answer and explanation
Answer: B
square(3) = 9 and square(4) = 16, so the sum is 25.