Define the The if statement - Computer Programming?
The if statement is an influential selection statement and is used to control the flow of execution of statements. One of the possible actions is able to be executed by this statement. The universal form of "if" statement is
if(expression)
{
statements;
}
The expressions have to be placed in parenthesis. The statement will be executed only if the expression is true or returns a non - zero number and if the expression is false, then the statement will not be executed. The conditional operators ':' and'?' are used in alternative for 'if 'statement.