Sail E0 Webinar
Question

For what values of the expression is an if-statement block not executed?


Options:
A .  0 and all negative values
B .  0 and -1
C .  0
D .  0, all negative values, all positive values except 1
Answer: Option C

The if-statement block is only not executed when the expression evaluates to 0. It’s just 

syntactic sugar for a branch-if-zero instruction.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers