Which of the following statements is NOT true about if-else statement in C?

1
An if-else statement cannot be nested inside another if-else statement.
2
If a condition is true, it is replaced by 1, if it false, it is replaced by 0.
3
An if need not always be associated with an else. However, an else must always be associated with an if.
4
The default scope of if and else statement is only the next statement. So, to execute multiple statements they must be written
in a pair of braces.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation