What is an IF statement? Write its syntax?
Answers
Answered by
2
Answer:
The syntax of an 'if' statement in C programming language is − if(boolean_expression) { /* statement(s) will execute if the boolean expression is true */ } If the Boolean expression evaluates to true, then the block of code inside the 'if' statement will be executed.
Similar questions
English,
2 months ago
Math,
2 months ago
Math,
2 months ago
Computer Science,
5 months ago
Math,
5 months ago
Environmental Sciences,
10 months ago
English,
10 months ago