Loading...

For Loop

Programme:

#include < stdio.h>
 
int main()
{
    int i;
  
    for ( i = 0; i < 5; i++ ) {
 
        printf( "%d\n", i );
    }
    getchar();
}

Output:

0
1
2
3
4