Home » C Programming » Decision Making » Question
  1. Which of the following statement are correct about an if-else statement in a C program ?
    1. Every if-else statement can be replaced by an equivalent statement using? : operators.
    2. Nested if-else statements are allowed.
    3. If we use an if it is compulsory to use an else.
    4. Multiple statements in an if block are allowed.
    5. Multiple statement in an else block are allowed
Correct Option: B

Nested if-else statements are allowed.



Your comments will be displayed only after manual approval.