explain if esle statement with suitable example
Answers
Answered by
0
Answer:
Syntax. If the Boolean expression evaluates to true, then the if block will be executed, otherwise, the else block will be executed. C programming language assumes any non-zero and non-null values as true, and if it is either zero or null, then it is assumed as false value.
Answered by
0
Explanation:
The if/else statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed. ... Use else to specify a block of code to be executed, if the same condition is false.
mark me as brainlest
Similar questions