Program to understand For loop

#include <stdio.h>
 
int main () {

   int a;
    
   /* for loop execution */
   for( a = 10; a < 20; a = a + 1 ){
      printf("value of a: %d\n", a);
   }
 
   return 0;
}

Comments

Popular posts from this blog

Program to print numbers 1 to 10 using loops