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