Question PSC-COND-0054
MediumWhat is the output of this pseudocode?
Integer n = 0
if (n)
Print "true"
else
Print "false"
end if
if (n == 0 or n / 0 == 1)
Print "ok"
end if
- A.
false
- B.
Division by zero error
- C.
Sign up free to see the answer and a step-by-step explanation.