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