Computer Science, asked by minisaju2001, 4 months ago

what is the synatx of if-then-else statement?​

Answers

Answered by misugiri1454
1

Answer:

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.

thanks

Answered by rhythmsingh82
0

Explanation:

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