fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int a[2][3] = {1,2,3,4,5,6};
  6. for(int i=0 ; i<2; i++){
  7. for(int j=0 ; j<3 ; j++){
  8. printf("%d" , a[i][j]);
  9. }
  10. }
  11. }
Success #stdin #stdout 0s 5308KB
stdin
Standard input is empty
stdout
123456