If-else Statement in C
Prerequisite – Control Statements in C In C, the “if-else” statement is used to execute one block of code if a certain condition is true, and a different block of code if the condition is false. Syntax: The basic syntax of the “if-else” statement in C is: Here, “condition” is any expression that evaluates to a boolean value… Read More »