Control Structures : Control Structures « Statement « C Tutorial






Control structures: sequential, selection, iteration and encapsulation.

A sequential structure is one in which instructions are executed in sequence. For example,

# include<stdio.h>
main()
{
    int i=0, j =1;
    printf("A");
    i = i + 1;
    printf("B");
    j = j + 1;
    printf("C");
}
ABC








6.1.Control Structures
6.1.1.Control Structures
6.1.2.Selection structure