C examples for Statement:for
What does this program do, nested for loop
#include <stdio.h> int x,y; /*from w ww. j av a2s . c om*/ int main() { for ( x = 0; x < 10; x++, printf( "\n" ) ) for ( y = 0; y < 10; y++ ) printf( "X" ); return 0; }