|
|
|
|
= with the equality comparison operator ==.(x=0) will always evaluate to 0, which is equivalent to false. So that block will never execute.(x=2) will always evaluate to 2, which is equivalent to true. So that block will always execute.else if(x=3) block will never execute, because the else if(x=2) block will always execute.