if else par 1

if else control structure Part 1 of 5

if else control structure is second control structure in the C language to take decision. Unlike if control strucure, this exclusively tells what is to be executed if condition becomes true or false.

Here if statement is followed by condition and if block and then else block is written. Like in the if control structure, here also we dont need to put the braces for if and/or else if only single statement is asscocited with if/else. Like if, else is also a keyword in C


Leave a Reply