8.(C) Basics of for loop

 #include <stdio.h>


int main()
{
    for (int a = 0; a < 10; a++)
    {
        printf("The value of  a is %d\n", a);
    }
    return 0;
}

Comments