Question PSC-COND-0014
MediumWhat will be the output of the following pseudocode?
Integer p = 0, q = 0
if (p == 0 OR q / p > 1) // OR stops as soon as the result is known
Print "Safe"
else
Print "Error"
end if
- A.
Nothing
- B.
Safe
- C.
Sign up free to see the answer and a step-by-step explanation.