Control Flow
The control flow statements are used when it is needed that the flow of the program is to be changed after taking some decision. This control flow statement therefore specifies the order in which the computations are carried out. The language offers for, while, do-while, if-else, else-if, switch, goto as control statements. We can categorize them as branching and looping structures.