fork download
  1. #include<math.h>
  2. #include<stdio.h>
  3.  
  4. int main()
  5. {
  6. int arr[][5]={{11,12},{21,22},{31,32},{41,42},{51,52}};
  7. int i, j;
  8. arr[4][0]=61; arr[4][1]=62;
  9. for (i=0;i<5;i++)
  10. {
  11. for (j=0;j<2;j++)
  12. {
  13. printf ("%d ", arr[i][j]);
  14. }
  15. printf ("\n");
  16. }
  17. }
Runtime error #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
11 12 
21 22 
31 32 
41 42 
61 62