Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

a) 0 and all negative values
b) 0 and -1
c) 0
d) 0, all negative values, all positive values except 1

Answer: c
Explanation: The if-statement block is only not executed when the expression evaluates to 0. its just syntactic sugar for a branch-if-zero instruction.

Join The Discussion