fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5.  
  6. int i, j;
  7.  
  8. for (i=1; i<=2; i++)
  9. {
  10. for (j=1; j<=2; j++)
  11. {
  12.  
  13. printf("%d %d\n", i, j);
  14. }
  15. }
  16.  
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5308KB
stdin
Standard input is empty
stdout
1 1
1 2
2 1
2 2