Multiple choice

Which of the following statements is false?

  1. 'If' block should always be associated with an 'else' block

  2. The default scope of the 'if' statement is only the next statement.

  3. '!' is a unary operator.

  4. Switch statement can be used for decision making.

  5. '&' and '&&' have different meanings.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

If block need not always be associated with an else block. However, an else block is always associated with an if block.