fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void) {
  5.  
  6. int a[8][2];
  7.  
  8. printf ("%d %d \n", sizeof a, sizeof (int));
  9. memset (a, 0, sizeof a);
  10.  
  11. for (int i = 0; i < 8; i++) {
  12. for (int j = 0; j < 2; j++)
  13. printf ("%d ", a[i][j]);
  14. puts("\n");
  15. }
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
64 4 
0 0 

0 0 

0 0 

0 0 

0 0 

0 0 

0 0 

0 0