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