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