Write the syntex for the if-else statement?
Answers
Answered by
9
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
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.
Similar questions
India Languages,
2 months ago
Geography,
2 months ago
Math,
2 months ago
Social Sciences,
4 months ago
English,
4 months ago
English,
11 months ago