fork download
  1. #include <stdio.h>
  2.  
  3. void fill(const int m[2][5],int n);
  4.  
  5. int main(void){
  6.  
  7. int a[2][5]={0};
  8. int no;
  9. scanf("%d",&no);
  10.  
  11. fill(a,2);
  12. return 0;
  13. }
  14.  
  15. void fill(const int m[2][5],int n){
  16.  
  17. for (int i=0;i<n;i++){
  18. for(int j=0;j<5;j++){
  19. printf("%d",m[i][j]);
  20. }
  21. }
  22. }
Success #stdin #stdout 0.01s 5320KB
stdin
4
stdout
0000000000