-
Which of the following statement are correct about an if-else statement in a C program ?
-
- Every if-else statement can be replaced by an equivalent statement using? : operators.
- Nested if-else statements are allowed.
- If we use an if it is compulsory to use an else.
- Multiple statements in an if block are allowed.
- Multiple statement in an else block are allowed
Correct Option: B
Nested if-else statements are allowed.