C – If, If-else and Nested If-else Statements
If Statement For Decision making, C uses the keyword if. The general form of the if statement is if(text_expression)statement1; The test expression should always be enclosed in parentheses. If the test_expression is nonzero(true) then the statement statement1 is executed; Otherwise, statement1 is skipped and control passes to the next statement. Statement1 can be a single […]